summaryrefslogtreecommitdiff
path: root/src/common/compat_openssl.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-11-10 10:14:58 -0500
committerNick Mathewson <nickm@torproject.org>2015-11-10 10:14:58 -0500
commit39e8fa81f7e42b6bff10e48109bee9409870d38d (patch)
treed839a5666f4dec453127957b919f12509ff5afef /src/common/compat_openssl.h
parent3aebeeffa5bdea5b1392f0d35175d614053b0acb (diff)
downloadtor-39e8fa81f7e42b6bff10e48109bee9409870d38d.tar.gz
tor-39e8fa81f7e42b6bff10e48109bee9409870d38d.zip
every version of openssl we support has SSL_get_state
Diffstat (limited to 'src/common/compat_openssl.h')
-rw-r--r--src/common/compat_openssl.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/common/compat_openssl.h b/src/common/compat_openssl.h
index 23f695064a..5d5941a8a3 100644
--- a/src/common/compat_openssl.h
+++ b/src/common/compat_openssl.h
@@ -24,9 +24,6 @@
#define OpenSSL_version(v) SSLeay_version(v)
#define OpenSSL_version_num() SSLeay()
#define RAND_OpenSSL() RAND_SSLeay()
-#ifndef SSL_get_state
-#define SSL_get_state(ssl) SSL_state(ssl)
-#endif
#define STATE_IS_SW_SERVER_HELLO(st) \
(((st) == SSL3_ST_SW_SRVR_HELLO_A) || \
((st) == SSL3_ST_SW_SRVR_HELLO_B))