Fixing issues with OpenSSL on some setups