diff options
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index 1fa7e6d7ba..8f9c168316 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 |