summaryrefslogtreecommitdiff
path: root/src/or/rendcommon.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-04-08 03:02:50 +0000
committerNick Mathewson <nickm@torproject.org>2004-04-08 03:02:50 +0000
commit40f7324eeae8886e76b7b28ad4d175369a3d6fb5 (patch)
tree1822d283b9bdfaf031a6e2ed9ee16123ec7043f2 /src/or/rendcommon.c
parent8351847afd11dca1ee4885c63660bd0a0167f6f1 (diff)
downloadtor-40f7324eeae8886e76b7b28ad4d175369a3d6fb5.tar.gz
tor-40f7324eeae8886e76b7b28ad4d175369a3d6fb5.zip
Allow service descriptors with no intro points
svn:r1557
Diffstat (limited to 'src/or/rendcommon.c')
-rw-r--r--src/or/rendcommon.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/or/rendcommon.c b/src/or/rendcommon.c
index 469f096305..fe3c17a4b4 100644
--- a/src/or/rendcommon.c
+++ b/src/or/rendcommon.c
@@ -90,10 +90,6 @@ rend_service_descriptor_t *rend_parse_service_descriptor(
cp += 4;
if (end-cp < 2) goto truncated;
result->n_intro_points = get_uint16(cp);
- if(result->n_intro_points < 1) {
- log_fn(LOG_WARN,"Service descriptor listed no intro points.");
- goto error;
- }
result->intro_points = tor_malloc_zero(sizeof(char*)*result->n_intro_points);
cp += 2;
for (i=0;i<result->n_intro_points;++i) {