[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Allow service descriptors with no intro points
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv29344/src/or
Modified Files:
rendcommon.c
Log Message:
Allow service descriptors with no intro points
Index: rendcommon.c
===================================================================
RCS file: /home/or/cvsroot/src/or/rendcommon.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- rendcommon.c 7 Apr 2004 22:00:54 -0000 1.21
+++ rendcommon.c 8 Apr 2004 03:02:50 -0000 1.22
@@ -90,10 +90,6 @@
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) {