aboutsummaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-05-17 19:51:53 -0400
committerNick Mathewson <nickm@torproject.org>2011-05-17 19:51:53 -0400
commitbc89ef0ca8164f9e6e23e73c01bdb4257fdbce7c (patch)
treeadeb21790fdf248942455db89a6d0bd2f9050394 /src/or/config.c
parent21ed575826e701437f7893536ffc5c8d2a71532f (diff)
parent9674fe7e2fdafdc7db7fac737c9e668b2a5e989a (diff)
downloadtor-bc89ef0ca8164f9e6e23e73c01bdb4257fdbce7c.tar.gz
tor-bc89ef0ca8164f9e6e23e73c01bdb4257fdbce7c.zip
Merge branch 'bug2752' into maint-0.2.2
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 614fc48c3e..36a8940cab 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -3398,8 +3398,8 @@ options_validate(or_options_t *old_options, or_options_t *options,
}
if (options->HTTPProxyAuthenticator) {
- if (strlen(options->HTTPProxyAuthenticator) >= 48)
- REJECT("HTTPProxyAuthenticator is too long (>= 48 chars).");
+ if (strlen(options->HTTPProxyAuthenticator) >= 512)
+ REJECT("HTTPProxyAuthenticator is too long (>= 512 chars).");
}
if (options->HTTPSProxy) { /* parse it now */
@@ -3412,8 +3412,8 @@ options_validate(or_options_t *old_options, or_options_t *options,
}
if (options->HTTPSProxyAuthenticator) {
- if (strlen(options->HTTPSProxyAuthenticator) >= 48)
- REJECT("HTTPSProxyAuthenticator is too long (>= 48 chars).");
+ if (strlen(options->HTTPSProxyAuthenticator) >= 512)
+ REJECT("HTTPSProxyAuthenticator is too long (>= 512 chars).");
}
if (options->Socks4Proxy) { /* parse it now */