summaryrefslogtreecommitdiff
path: root/src/lib/crypt_ops/compat_openssl.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-10-28 10:32:06 -0400
committerNick Mathewson <nickm@torproject.org>2020-10-28 10:32:06 -0400
commit2b4a3d07b25ae9c284a1f130de71940242b78bb7 (patch)
tree0ef68746bbddb7f66f69a96d435da826d6a75ef1 /src/lib/crypt_ops/compat_openssl.h
parente399d32cdf8b77b68345290f59bb315d3ed7a5d9 (diff)
downloadtor-2b4a3d07b25ae9c284a1f130de71940242b78bb7.tar.gz
tor-2b4a3d07b25ae9c284a1f130de71940242b78bb7.zip
Do not define OPENSSL_VERSION in compat_openssl.h
Apparently it conflicts with definitions elsewhere in Openssl 3.0.0.
Diffstat (limited to 'src/lib/crypt_ops/compat_openssl.h')
-rw-r--r--src/lib/crypt_ops/compat_openssl.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/lib/crypt_ops/compat_openssl.h b/src/lib/crypt_ops/compat_openssl.h
index 9c10386c34..6605d01045 100644
--- a/src/lib/crypt_ops/compat_openssl.h
+++ b/src/lib/crypt_ops/compat_openssl.h
@@ -32,10 +32,6 @@
#define OPENSSL_1_1_API
#endif /* OPENSSL_VERSION_NUMBER >= OPENSSL_V_SERIES(1,1,0) && ... */
-#ifndef OPENSSL_VERSION
-#define OPENSSL_VERSION SSLEAY_VERSION
-#endif
-
#ifndef OPENSSL_1_1_API
#define OpenSSL_version(v) SSLeay_version(v)
#define OpenSSL_version_num() SSLeay()
@@ -54,4 +50,3 @@
#endif /* defined(ENABLE_OPENSSL) */
#endif /* !defined(TOR_COMPAT_OPENSSL_H) */
-