janbar / openssl-cmake

Build OpenSSL with CMake on MacOS, Win32, Win64 and cross compile for Android, IOS
Other
275 stars 142 forks source link

The resulting compilation doesn't work with python cryptography and mitmproxy #28

Open oliviervibe opened 2 years ago

oliviervibe commented 2 years ago

I have tried to use the resulting libssl.a and libcrypto.a to compile it with python cryptography and apart from the issue that it requires -fPIC t be defined, the resulting libraries don't work with cryptography and mitmproxy that fails to access the necessary features it needs.

In particular, it seems that the resulting libraries under Ubuntu don't contain version information. It seems that a lot of compilation options used with the makefile are not generated by the cmake.

The openssl version 1.1.1n works fine.