diff options
author | Roger Dingledine <arma@torproject.org> | 2006-05-24 00:21:55 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-05-24 00:21:55 +0000 |
commit | 67a885ecacf076dc439a0ac9024f2de18f0d6e94 (patch) | |
tree | 92ac3009c10dc7f72363052783ae6e155afad573 /src/common | |
parent | be2833e929bb186fce83a61993582228f93d660e (diff) | |
download | tor-67a885ecacf076dc439a0ac9024f2de18f0d6e94.tar tor-67a885ecacf076dc439a0ac9024f2de18f0d6e94.tar.gz |
Claim a commonname of Tor, rather than TOR, in tls handshakes.
Maybe this will help us win the war of names.
svn:r6489
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/tortls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c index 2acbcbb57..a20414267 100644 --- a/src/common/tortls.c +++ b/src/common/tortls.c @@ -234,7 +234,7 @@ tor_tls_create_certificate(crypto_pk_env_t *rsa, if ((nid = OBJ_txt2nid("organizationName")) == NID_undef) goto error; if (!(X509_NAME_add_entry_by_NID(name, nid, MBSTRING_ASC, - (unsigned char*)"TOR", -1, -1, 0))) + (unsigned char*)"Tor", -1, -1, 0))) goto error; if ((nid = OBJ_txt2nid("commonName")) == NID_undef) goto error; if (!(X509_NAME_add_entry_by_NID(name, nid, MBSTRING_ASC, @@ -248,7 +248,7 @@ tor_tls_create_certificate(crypto_pk_env_t *rsa, if ((nid = OBJ_txt2nid("organizationName")) == NID_undef) goto error; if (!(X509_NAME_add_entry_by_NID(name_issuer, nid, MBSTRING_ASC, - (unsigned char*)"TOR", -1, -1, 0))) + (unsigned char*)"Tor", -1, -1, 0))) goto error; if ((nid = OBJ_txt2nid("commonName")) == NID_undef) goto error; if (!(X509_NAME_add_entry_by_NID(name_issuer, nid, MBSTRING_ASC, |