diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-01-10 17:48:40 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-01-10 17:48:40 +0000 |
commit | 04263648c422af07489a1c55c1972dc91207de46 (patch) | |
tree | 2dbb9676b37c025777da42277ed52c40020c4637 /src/or/or.h | |
parent | 29b0f51a7387608dd79ff29ffc3f37b7c8543341 (diff) | |
download | tor-04263648c422af07489a1c55c1972dc91207de46.tar.gz tor-04263648c422af07489a1c55c1972dc91207de46.zip |
r17554@catbus: nickm | 2008-01-10 12:48:29 -0500
Do not send bridge descriptors over unencrypted connections.
svn:r13094
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h index 33c50c73bb..b96693260b 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -1245,6 +1245,8 @@ typedef struct signed_descriptor_t { /* If true, we got an extrainfo for this item, and the digest was right, * but it was incompatible. */ unsigned int extrainfo_is_bogus : 1; + /* If true, we are willing to transmit this item unencrypted. */ + unsigned int send_unencrypted : 1; } signed_descriptor_t; /** Information about another onion router in the network. */ @@ -3113,7 +3115,8 @@ void dirserv_get_networkstatus_v2(smartlist_t *result, const char *key); void dirserv_get_networkstatus_v2_fingerprints(smartlist_t *result, const char *key); int dirserv_get_routerdesc_fingerprints(smartlist_t *fps_out, const char *key, - const char **msg); + const char **msg, + int for_unencrypted_conn); int dirserv_get_routerdescs(smartlist_t *descs_out, const char *key, const char **msg); void dirserv_orconn_tls_done(const char *address, |