diff options
author | Roger Dingledine <arma@torproject.org> | 2012-04-01 15:59:38 -0400 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2012-04-01 15:59:38 -0400 |
commit | 5fed1ccd901d4751a3fed7dc01042771ca76f449 (patch) | |
tree | 75f46ddd04814a3e74b754236c262b5157ec49b7 /src/or/config.c | |
parent | 40ab832c4e61bfddd26915e6208137b43329ae86 (diff) | |
download | tor-5fed1ccd901d4751a3fed7dc01042771ca76f449.tar.gz tor-5fed1ccd901d4751a3fed7dc01042771ca76f449.zip |
put a _ before or_options_t elements that aren't configurable
it's fine with me if we change the current convention, but we should
actually decide to change it if we want to.
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/config.c b/src/or/config.c index 1e7bd5844b..fbbd9029f7 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -713,7 +713,7 @@ or_options_free(or_options_t *options) return; routerset_free(options->_ExcludeExitNodesUnion); - tor_free(options->BridgePassword_AuthDigest); + tor_free(options->_BridgePassword_AuthDigest); config_free(&options_format, options); } @@ -1310,8 +1310,8 @@ options_act(or_options_t *old_options) "BridgePassword."); return -1; } - options->BridgePassword_AuthDigest = tor_malloc(DIGEST256_LEN); - crypto_digest256(options->BridgePassword_AuthDigest, + options->_BridgePassword_AuthDigest = tor_malloc(DIGEST256_LEN); + crypto_digest256(options->_BridgePassword_AuthDigest, http_authenticator, strlen(http_authenticator), DIGEST_SHA256); tor_free(http_authenticator); |