Am 30.06.23 um 15:39 schrieb Frank Lichtenheld:
Use the casting variants of mock(). Using the mock_ptr_type
fixes an existing bug where test_tls_crypt.c couldn't
build in MinGW 32bit:
Acked-By: Arne Schwabe
___
Openvpn-devel mailing list
Openvpn-d
Use the casting variants of mock(). Using the mock_ptr_type
fixes an existing bug where test_tls_crypt.c couldn't
build in MinGW 32bit:
test_tls_crypt.c:127:27: error:
cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
127 | const char *pem_str = (const char *) mock