Merge pull request #229 from vishwin/master

LibreSSL has used the OpenSSL 1.1 API since 2.7