Closed ansel1 closed 7 years ago
Fixes #48
But tests don't pass. The TestOpenSSLSimple and other tests which exercise SSL handshaking fail on OSX. Not sure why. SSH_get_error returns SSL_ERROR_SSL, but ERR_get_error returns 0. I don't see any other indication why the ssl handshake is failing.
We will be requiring homebrew on os x from now on, so the brew tag is going away. I'll be including the documentation for this. Thanks.
There was a brew tag used in a few places which would re-enable building some features on OSX. I expanded the use of it so that it enables building all of the features and tests, including AES-GCM. Also sets some build flags to ensure the brew'ed version of openssl is found.
This also fixes building on el capitan. Prior to this pull request, the build would fail entirely because the openssl headers are no longer distributed with osx.
Also fixed a test to ensure if fails instead of hanging.