[or-cvs] a few more hints on a rare but mysterious warning

arma at seul.org arma at seul.org
Fri Sep 9 20:58:46 UTC 2005


Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or

Modified Files:
	rendcommon.c 
Log Message:
a few more hints on a rare but mysterious warning


Index: rendcommon.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/rendcommon.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- rendcommon.c	9 Sep 2005 19:54:28 -0000	1.54
+++ rendcommon.c	9 Sep 2005 20:58:44 -0000	1.55
@@ -185,7 +185,8 @@
   tor_assert(end-cp >= 0);
   if ((size_t)(end-cp) < keylen) goto truncated;
   if ((size_t)(end-cp) > keylen) {
-    log_fn(LOG_WARN, "Signature too long on service descriptor.");
+    log_fn(LOG_WARN, "Signature is %d bytes too long on service descriptor.",
+           (int)((size_t)(end-cp) - keylen));
     goto error;
   }
   if (crypto_pk_public_checksig_digest(result->pk,



More information about the tor-commits mailing list