summaryrefslogtreecommitdiff
path: root/src/common/compat_openssl.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-11-10 10:13:04 -0500
committerNick Mathewson <nickm@torproject.org>2015-11-10 10:13:04 -0500
commit3aebeeffa5bdea5b1392f0d35175d614053b0acb (patch)
tree4557277dc6ae06bad8e7c948fe532090c7729bce /src/common/compat_openssl.h
parentc32a43a4d2bbd2be89888fc5a253e55c72bb466a (diff)
downloadtor-3aebeeffa5bdea5b1392f0d35175d614053b0acb.tar.gz
tor-3aebeeffa5bdea5b1392f0d35175d614053b0acb.zip
Every openssl we support has ERR_remove_thread_state
Diffstat (limited to 'src/common/compat_openssl.h')
-rw-r--r--src/common/compat_openssl.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/common/compat_openssl.h b/src/common/compat_openssl.h
index 96c00c7993..23f695064a 100644
--- a/src/common/compat_openssl.h
+++ b/src/common/compat_openssl.h
@@ -24,7 +24,6 @@
#define OpenSSL_version(v) SSLeay_version(v)
#define OpenSSL_version_num() SSLeay()
#define RAND_OpenSSL() RAND_SSLeay()
-#define tor_ERR_remove_cur_thread_state() ERR_remove_state(0)
#ifndef SSL_get_state
#define SSL_get_state(ssl) SSL_state(ssl)
#endif
@@ -33,7 +32,6 @@
((st) == SSL3_ST_SW_SRVR_HELLO_B))
#define OSSL_HANDSHAKE_STATE int
#else
-#define tor_ERR_remove_cur_thread_state() ERR_remove_thread_state(NULL)
#define STATE_IS_SW_SERVER_HELLO(st) \
((st) == TLS_ST_SW_SRVR_HELLO)
#endif