Ok, I managed to build a working PyOpenSSL by renaming the ssleay32.a library in the MinGW library dir to libssl32.a and adding that dir to the lib path:
> copy C:\openssl\lib\MinGW\ssleay32.a C:\openssl\lib\MinGW\libssl32.a > python setup.py build_ext -c mingw32 -I C:\openssl\include -L C:\openssl\lib\MinGW
With these changes the tests pass, but I don't know if it is worth the effort, we could also just remove the Context.add_client_ca() method.
Ok, I managed to build a working PyOpenSSL by renaming the ssleay32.a library in the MinGW library dir to libssl32.a and adding that dir to the lib path:
> copy C:\openssl\ lib\MinGW\ ssleay32. a C:\openssl\ lib\MinGW\ libssl32. a lib\MinGW
> python setup.py build_ext -c mingw32 -I C:\openssl\include -L C:\openssl\
With these changes the tests pass, but I don't know if it is worth the effort, we could also just remove the Context. add_client_ ca() method.