diff options
author | Roger Dingledine <arma@torproject.org> | 2012-01-08 09:03:03 -0500 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2012-01-08 09:03:03 -0500 |
commit | 1416dd47a994fb9f3ff5108be8517270352c9699 (patch) | |
tree | ca0d083626deae9e77f3b935d8f8edb62e357f18 /src/common/tortls.c | |
parent | ccd8289958b6d81cd5575c15dc6c1218d8ecb2d0 (diff) | |
download | tor-1416dd47a994fb9f3ff5108be8517270352c9699.tar.gz tor-1416dd47a994fb9f3ff5108be8517270352c9699.zip |
add a note from wanoskarnet
he disagrees about what the code that we decided not to use would do
Diffstat (limited to 'src/common/tortls.c')
-rw-r--r-- | src/common/tortls.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c index ef61f71b3d..37074decfd 100644 --- a/src/common/tortls.c +++ b/src/common/tortls.c @@ -781,6 +781,11 @@ tor_tls_context_new(crypto_pk_env_t *identity, unsigned int key_lifetime, * with clients that are configured to use SSLv23_method(), so we should * probably never use it. */ + /* XXX wanoskarnet says this comment is bunk -- that even if we turn + * this line on, clients configured to use SSLv23 would still able to + * talk to us. But he also says it's ok to leave it out. I suggest we + * delete this whole clause (the one that's #if 0'ed out). I'll leave + * it in place until Nick expresses an opinion. -RD */ if (!(result->ctx = SSL_CTX_new(TLSv1_method()))) goto error; #endif |