tor/changes/ticket23602
Nick Mathewson 564ff506ea When detecting OpenSSL, look for 1.0.1, and in homebrew location
Previously we would detect the system openssl on OSX, and then fail
to use it, since we required Open 1.0.1 or later.  That's silly!

Instead of looking for RAND_add(), look for TLSv1_1_method(): it was
introduced in 1.0.1, and is also present in LibreSSL.

Also, add the hombebrew path to our search path here.

Fixes bug 23602; bugfix on 0.2.7.2-alpha.
2017-09-20 16:07:19 -04:00

7 lines
382 B
Plaintext

o Minor bugfixes (build):
- When searching for OpenSSL, don't accept any OpenSSL library that lacks
TLSv1_1_method(): Tor doesn't build with those versions. Additionally,
look in /usr/local/opt/openssl, if it's present. These changes
together repair the default build on OSX systems with Homebrew
installed. Fixes bug 23602; bugfix on 0.2.7.2-alpha.