summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-09-28 15:03:42 -0400
committerNick Mathewson <nickm@torproject.org>2011-10-10 23:14:29 -0400
commit6bfb31ff56f4e6d67ab667932a11d93ce607ac67 (patch)
tree711166873cfb3df822b37641c1d91940275c0979
parent7935c4bdfab55dfa3e87345f84b73772dbc50110 (diff)
downloadtor-6bfb31ff56f4e6d67ab667932a11d93ce607ac67.tar.gz
tor-6bfb31ff56f4e6d67ab667932a11d93ce607ac67.zip
Generate certificates that enable v3 handshake
-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 01a0f8ea9b..206ac3be49 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()))