aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-08-09 15:13:28 +0000
committerNick Mathewson <nickm@torproject.org>2008-08-09 15:13:28 +0000
commit60a0ae198d4eb63ab8af4e3d789d66884b0219ad (patch)
treeab75cacf19ecfee422aa9b6c49696eab1094f6c7 /src/or/or.h
parent7994f49d436b6fc85dd6af135d877968e938da51 (diff)
downloadtor-60a0ae198d4eb63ab8af4e3d789d66884b0219ad.tar
tor-60a0ae198d4eb63ab8af4e3d789d66884b0219ad.tar.gz
Patch cleanups from karsten
svn:r16479
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 1fa7e6d7b..8f9c16831 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -653,6 +653,9 @@ typedef enum {
#define REND_LEGAL_CLIENTNAME_CHARACTERS \
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+-_"
+/** Maximum length of authorized client names for a hidden service. */
+#define REND_CLIENTNAME_MAX_LEN 16
+
#define CELL_DIRECTION_IN 1
#define CELL_DIRECTION_OUT 2