summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-07-22 21:31:04 +0000
committerNick Mathewson <nickm@torproject.org>2004-07-22 21:31:04 +0000
commit7b4865ec334ff705cea215a35aa13a75df90e715 (patch)
tree7f150c02da248f6cb5e1557f0d0f3d090e0a55a7 /src/or/or.h
parent0c990259dec0ba48efda20cb4b0e58cd2965ec3f (diff)
downloadtor-7b4865ec334ff705cea215a35aa13a75df90e715.tar.gz
tor-7b4865ec334ff705cea215a35aa13a75df90e715.zip
Add notion of "longest nickname-or-hex-digest-with-$"
svn:r2108
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index ae5ae26a8a..ec1e9eafda 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -123,6 +123,8 @@
#define DEFAULT_BANDWIDTH_OP (1024 * 1000)
#define MAX_NICKNAME_LEN 19
+/* Hex digest plus dollar sign. */
+#define MAX_HEX_NICKNAME_LEN HEX_DIGEST_LEN+1
#define MAX_DIR_SIZE 500000
#ifdef TOR_PERF