[tor-commits] [tor/master] Generate certificates that enable v3 handshake

nickm at torproject.org nickm at torproject.org
Tue Oct 11 03:22:16 UTC 2011


commit 6bfb31ff56f4e6d67ab667932a11d93ce607ac67
Author: Nick Mathewson <nickm at torproject.org>
Date:   Wed Sep 28 15:03:42 2011 -0400

    Generate certificates that enable v3 handshake
---
 src/common/tortls.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/common/tortls.c b/src/common/tortls.c
index 01a0f8e..206ac3b 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -1086,7 +1086,7 @@ tor_tls_context_new(crypto_pk_env_t *identity, unsigned int key_lifetime)
 
   tor_tls_init();
   nickname = crypto_random_hostname(8, 20, "www.", ".net");
-  nn2 = crypto_random_hostname(8, 20, "www.", ".net");
+  nn2 = crypto_random_hostname(8, 20, "www.", ".com");
 
   /* Generate short-term RSA key for use with TLS. */
   if (!(rsa = crypto_new_pk_env()))





More information about the tor-commits mailing list