aboutsummaryrefslogtreecommitdiff
path: root/src/common/tortls.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-11-25 10:53:37 -0500
committerNick Mathewson <nickm@torproject.org>2013-11-25 10:53:37 -0500
commit8f9c847fbf4032a8db4802708f7e2d69a26cd3d2 (patch)
treedfd9b6d19a52683803aea5fa529432fa49a02818 /src/common/tortls.c
parent2d9adcd2049ae24cfa8fda90491ce2bc81267464 (diff)
downloadtor-8f9c847fbf4032a8db4802708f7e2d69a26cd3d2.tar.gz
tor-8f9c847fbf4032a8db4802708f7e2d69a26cd3d2.zip
Restore prop198 behavior from 4677 patch
The previous commit from piet would have backed out some of proposal 198 and made servers built without the V2 handshake not use the unrestricted cipher list from prop198. Bug not in any released Tor.
Diffstat (limited to 'src/common/tortls.c')
-rw-r--r--src/common/tortls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c
index 1fc440fc1f..3d6efeba04 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -1630,7 +1630,7 @@ tor_tls_server_info_callback(const SSL *ssl, int type, int val)
}
#endif
-#if OPENSSL_VERSION_NUMBER >= OPENSSL_V_SERIES(1,0,0) && defined(V2_HANDSHAKE_SERVER)
+#if OPENSSL_VERSION_NUMBER >= OPENSSL_V_SERIES(1,0,0)
/** Callback to get invoked on a server after we've read the list of ciphers
* the client supports, but before we pick our own ciphersuite.
*