]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Generate certificates that enable v3 handshake
authorNick Mathewson <nickm@torproject.org>
Wed, 28 Sep 2011 19:03:42 +0000 (15:03 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 11 Oct 2011 03:14:29 +0000 (23:14 -0400)
src/common/tortls.c

index 01a0f8ea9b7d666b3a9ec4248d62356c1fb5f54f..206ac3be4962b27f56c475ae9222756c55bd60f0 100644 (file)
@@ -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()))