From: Nick Mathewson Date: Thu, 8 Apr 2004 03:02:50 +0000 (+0000) Subject: Allow service descriptors with no intro points X-Git-Tag: tor-0.0.6incompat-merged~87 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=40f7324eeae8886e76b7b28ad4d175369a3d6fb5;p=thirdparty%2Ftor.git Allow service descriptors with no intro points svn:r1557 --- 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;in_intro_points;++i) {