diff options
author | Roger Dingledine <arma@torproject.org> | 2012-04-01 16:03:16 -0400 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2012-04-01 16:03:16 -0400 |
commit | c7cbd06d5f2727c3742dfd426223f1f1ebe46f94 (patch) | |
tree | 6d11c441c5beb4d0589023aae6de17b0980ad6c0 /src/or/directory.c | |
parent | 341c6a59db09a43ee2301a6c59158b09ec55134b (diff) | |
parent | 5fed1ccd901d4751a3fed7dc01042771ca76f449 (diff) | |
download | tor-c7cbd06d5f2727c3742dfd426223f1f1ebe46f94.tar.gz tor-c7cbd06d5f2727c3742dfd426223f1f1ebe46f94.zip |
Merge branch 'maint-0.2.2'
Conflicts:
src/or/config.c
Diffstat (limited to 'src/or/directory.c')
-rw-r--r-- | src/or/directory.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 18122c394c..fbde7859e8 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -3217,7 +3217,7 @@ directory_handle_command_get(dir_connection_t *conn, const char *headers, } if (options->BridgeAuthoritativeDir && - options->BridgePassword_AuthDigest && + options->_BridgePassword_AuthDigest && connection_dir_is_encrypted(conn) && !strcmp(url,"/tor/networkstatus-bridges")) { char *status; @@ -3229,7 +3229,8 @@ directory_handle_command_get(dir_connection_t *conn, const char *headers, /* now make sure the password is there and right */ if (!header || - tor_memneq(digest, options->BridgePassword_AuthDigest, DIGEST256_LEN)) { + tor_memneq(digest, + options->_BridgePassword_AuthDigest, DIGEST256_LEN)) { write_http_status_line(conn, 404, "Not found"); tor_free(header); goto done; |