Fix OpenSSL regression
Merge pull request #651 from pyhalov/openssl

Fix OpenSSL regression