Closed jsha closed 6 months ago
I think the contributions in #275 did the hard work here. I'm only seeing two warnings in the CMake windows builds as of the time of writing:
D:\a\rustls-ffi\rustls-ffi\tests\client.c(461,23): warning C4133: 'function': incompatible types - from 'rustls_result (__cdecl *)(void *,const rustls_verify_server_cert_params *)' to 'rustls_verify_server_cert_callback'
D:\a\rustls-ffi\rustls-ffi\tests\server.c(342,51): warning C4133: 'function': incompatible types - from 'int *' to 'const char *' [D:\a\rustls-ffi\rustls-ffi\build\tests\server.vcxproj]
I think https://github.com/rustls/rustls-ffi/pull/405 will fix both and resolve this issue.