aboutsummaryrefslogtreecommitdiff
path: root/src/common/tortls.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-07-29 23:11:42 +0000
committerNick Mathewson <nickm@torproject.org>2007-07-29 23:11:42 +0000
commit759ed3ce3f1de0911f25ad1e3a8016e01d3272a6 (patch)
tree97168a243856dc9a86bd786193ea472e2bad0058 /src/common/tortls.c
parentca7c53d3cc93c71ee1c5d268cbfd3c48dfb1848f (diff)
downloadtor-759ed3ce3f1de0911f25ad1e3a8016e01d3272a6.tar
tor-759ed3ce3f1de0911f25ad1e3a8016e01d3272a6.tar.gz
r13988@catbus: nickm | 2007-07-29 16:32:36 -0400
Cheesy attempt to break some censorware. Not a long-term fix, but it will be intersting to watch the epidemiology of the workarounds as the censors apply them. svn:r10975
Diffstat (limited to 'src/common/tortls.c')
-rw-r--r--src/common/tortls.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c
index f56ce10ba..de39969d5 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -274,7 +274,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*)"t o r", -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,
@@ -288,7 +288,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*)"t o r", -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,
@@ -361,7 +361,7 @@ tor_tls_context_new(crypto_pk_env_t *identity, const char *nickname,
char nn2[128];
if (!nickname)
nickname = "null";
- tor_snprintf(nn2, sizeof(nn2), "%s <identity>", nickname);
+ tor_snprintf(nn2, sizeof(nn2), "%s <signing>", nickname);
tor_tls_init();