diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-10-24 19:39:45 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-10-24 19:39:45 +0000 |
commit | f9b0be526e2d08a93728ae92b450e92a09aadf82 (patch) | |
tree | 8fa99a4ba1b4ca2790f761337e8b50b04696ad94 /src/or/rendmid.c | |
parent | fa338d85db52e665012ffe40aba676ccb220b016 (diff) | |
download | tor-f9b0be526e2d08a93728ae92b450e92a09aadf82.tar.gz tor-f9b0be526e2d08a93728ae92b450e92a09aadf82.zip |
Use LD_BUG as appropriate; convert rend* and router* to new logging interface; use new circ_log_path interface
svn:r5302
Diffstat (limited to 'src/or/rendmid.c')
-rw-r--r-- | src/or/rendmid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/rendmid.c b/src/or/rendmid.c index 2b28aabf44..fdd70bdc45 100644 --- a/src/or/rendmid.c +++ b/src/or/rendmid.c @@ -50,7 +50,7 @@ rend_mid_establish_intro(circuit_t *circ, const char *request, size_t request_le memcpy(buf, circ->handshake_digest, DIGEST_LEN); memcpy(buf+DIGEST_LEN, "INTRODUCE", 9); if (crypto_digest(expected_digest, buf, DIGEST_LEN+9) < 0) { - warn(LD_GENERAL, "Internal error computing digest."); + warn(LD_BUG, "Internal error computing digest."); goto err; } if (memcmp(expected_digest, request+2+asn1len, DIGEST_LEN)) { @@ -67,7 +67,7 @@ rend_mid_establish_intro(circuit_t *circ, const char *request, size_t request_le /* The request is valid. First, compute the hash of Bob's PK.*/ if (crypto_pk_get_digest(pk, pk_digest)<0) { - warn(LD_GENERAL, "Internal error: couldn't hash public key."); + warn(LD_BUG, "Internal error: couldn't hash public key."); goto err; } |