diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-06-07 18:01:46 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-06-07 18:01:46 +0000 |
commit | 621ab95e59f40119e17f76cfc3587eecceb3784b (patch) | |
tree | e17758eafc93704a36aef675b447c65a2c023325 /src/or/or.h | |
parent | 2118e5798acc8b34ff4450c29717722b345a52cb (diff) | |
download | tor-621ab95e59f40119e17f76cfc3587eecceb3784b.tar.gz tor-621ab95e59f40119e17f76cfc3587eecceb3784b.zip |
Fix for 152: reject malformed .onion addresses rather then passing them on
svn:r4329
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h index ad7ae7597a..916476cf7e 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -1377,7 +1377,7 @@ int socks_policy_permits_address(uint32_t addr); void set_exit_redirects(smartlist_t *lst); typedef enum hostname_type_t { - NORMAL_HOSTNAME, ONION_HOSTNAME, EXIT_HOSTNAME + NORMAL_HOSTNAME, ONION_HOSTNAME, EXIT_HOSTNAME, BAD_HOSTNAME } hostname_type_t; hostname_type_t parse_extended_hostname(char *address); |