summaryrefslogtreecommitdiff
path: root/src/or/rendservice.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-05-12 19:30:28 +0000
committerNick Mathewson <nickm@torproject.org>2004-05-12 19:30:28 +0000
commit9c3fba5c3bd654d42f8f539e7e8d3caa17861ea0 (patch)
tree8be34d36a5953a36925b92b9326ccb281873dfee /src/or/rendservice.c
parentf1bc7af9f54bb4b563ffa024b1e32a6acacef26f (diff)
downloadtor-9c3fba5c3bd654d42f8f539e7e8d3caa17861ea0.tar.gz
tor-9c3fba5c3bd654d42f8f539e7e8d3caa17861ea0.zip
Not every RSA decrypt should warn on failure.
svn:r1853
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r--src/or/rendservice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index 2106853974..db114ad283 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -388,7 +388,7 @@ rend_service_introduce(circuit_t *circuit, const char *request, int request_len)
/* Next N bytes is encrypted with service key */
len = crypto_pk_private_hybrid_decrypt(
service->private_key,request+DIGEST_LEN,request_len-DIGEST_LEN,buf,
- PK_PKCS1_OAEP_PADDING);
+ PK_PKCS1_OAEP_PADDING,1);
if (len<0) {
log_fn(LOG_WARN, "Couldn't decrypt INTRODUCE2 cell");
return -1;