aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authordana koch <dsk@google.com>2015-12-24 18:54:29 -0800
committerNick Mathewson <nickm@torproject.org>2016-01-07 12:48:59 -0800
commitbe841f77aaa818f445d5b9a5e2eca6aa7ce4f0b6 (patch)
tree84cc927b6223c6069fce55fd58d4a612126c2a37 /src/or/main.c
parent62bc4a199a975a5cfe3891a59a0161f22906df1f (diff)
downloadtor-be841f77aaa818f445d5b9a5e2eca6aa7ce4f0b6.tar.gz
tor-be841f77aaa818f445d5b9a5e2eca6aa7ce4f0b6.zip
Compatibility defines should be used for LibreSSL.
LibreSSL doesn't use OpenSSL_version (it uses the older SSLeay_version API), but it reports a major version number as 2 in OPENSSL_VERSION_NUMBER. Instead of fudging the version check, for now, let's just check if we're using LibreSSL by checking the version number macro exists, and use compatibility defines unconditionally when we detect LibreSSL.
Diffstat (limited to 'src/or/main.c')
0 files changed, 0 insertions, 0 deletions