summaryrefslogtreecommitdiff
path: root/src/or/hs_descriptor.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-01-11 10:14:50 -0500
committerNick Mathewson <nickm@torproject.org>2017-01-11 10:14:50 -0500
commit7892683e7e491c32d1ea3c44d47877fe9ed7c850 (patch)
treee8a2ad05b0fa8fc7f8094cefda014d0a9e761f52 /src/or/hs_descriptor.h
parent8f893fbca92f1e190ac056a21abc9e4c1a29b236 (diff)
parente1d7661412325bb8c81a3a7f4d5cc25efdee5a78 (diff)
downloadtor-7892683e7e491c32d1ea3c44d47877fe9ed7c850.tar.gz
tor-7892683e7e491c32d1ea3c44d47877fe9ed7c850.zip
Merge remote-tracking branch 'asn/bug20852_v1'
Diffstat (limited to 'src/or/hs_descriptor.h')
-rw-r--r--src/or/hs_descriptor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/hs_descriptor.h b/src/or/hs_descriptor.h
index a6fe96ad96..6cc60c774c 100644
--- a/src/or/hs_descriptor.h
+++ b/src/or/hs_descriptor.h
@@ -54,7 +54,7 @@
HS_DESC_ENCRYPTED_SALT_LEN + \
HS_DESC_PLAINTEXT_PADDING_MULTIPLE + DIGEST256_LEN
/* Maximum length in bytes of a full hidden service descriptor. */
-#define HS_DESC_MAX_LEN 32768 // XXX justify
+#define HS_DESC_MAX_LEN 50000 /* 50kb max size */
/* The minimum amount of fields a descriptor should contain. The parsing of
* the fields are version specific so the only required field, as a generic
* view of a descriptor, is 1 that is the version field. */