summaryrefslogtreecommitdiff
path: root/src/common/compat_openssl.h
AgeCommit message (Collapse)Author
2016-02-27Update the copyright year.Nick Mathewson
2016-02-03Make Tor build happily with OpenSSL master and libressl.Nick Mathewson
Also tested with 1.0.0t and 1.0.2f. Closes ticket 19784. Closes most of 17921. (Still need to make some tests pass.)
2016-01-11Try a little harder to only use SecureZeroMemory when it's presentNick Mathewson
We could be using AC_CHECK_FUNC_DECL too, but it shouldn't be needed.
2016-01-07Compatibility defines should be used for LibreSSL.dana koch
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.
2015-11-10appease check-spacesNick Mathewson
2015-11-10every version of openssl we support has SSL_get_stateNick Mathewson
2015-11-10Every openssl we support has ERR_remove_thread_stateNick Mathewson
2015-11-10Move openssl version compatibility defines into a new header.Nick Mathewson