aboutsummaryrefslogtreecommitdiff
path: root/src/common/tortls.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-02-21 22:14:32 +0000
committerNick Mathewson <nickm@torproject.org>2008-02-21 22:14:32 +0000
commitb21a122ef623e06104fe42bc5b73fec10cf13986 (patch)
tree60cffe83869b16abdcf90b76d523aa38f0f6bea0 /src/common/tortls.c
parent69300eb606732a35eff5c2e150cf71667df59d3f (diff)
downloadtor-b21a122ef623e06104fe42bc5b73fec10cf13986.tar.gz
tor-b21a122ef623e06104fe42bc5b73fec10cf13986.zip
r14379@tombo: nickm | 2008-02-21 17:14:24 -0500
Enable v2 handshakes. svn:r13666
Diffstat (limited to 'src/common/tortls.c')
-rw-r--r--src/common/tortls.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c
index 8690231e65..f33986a1e5 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -42,8 +42,10 @@ const char tortls_c_id[] =
#include "ht.h"
#include <string.h>
-// #define V2_HANDSHAKE_SERVER
-// #define V2_HANDSHAKE_CLIENT
+/* Enable the "v2" TLS handshake.
+ */
+#define V2_HANDSHAKE_SERVER
+#define V2_HANDSHAKE_CLIENT
/* Copied from or.h */
#define LEGAL_NICKNAME_CHARACTERS \