aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendcommon.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-09-09 20:58:44 +0000
committerRoger Dingledine <arma@torproject.org>2005-09-09 20:58:44 +0000
commita5ea401b2ede6160bcde21249e02a428bcd8e6d9 (patch)
tree8b6fc904e273e5bdbdc3d3c4de73c8e7bf776742 /src/or/rendcommon.c
parent047e105daf055e70db87b1c84fe35ce2058492d5 (diff)
downloadtor-a5ea401b2ede6160bcde21249e02a428bcd8e6d9.tar
tor-a5ea401b2ede6160bcde21249e02a428bcd8e6d9.tar.gz
a few more hints on a rare but mysterious warning
svn:r4966
Diffstat (limited to 'src/or/rendcommon.c')
-rw-r--r--src/or/rendcommon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/rendcommon.c b/src/or/rendcommon.c
index bbf121f84..b0d79048b 100644
--- a/src/or/rendcommon.c
+++ b/src/or/rendcommon.c
@@ -185,7 +185,8 @@ rend_parse_service_descriptor(const char *str, size_t len)
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,