[or-cvs] Add a missing offset

Nick Mathewson nickm at seul.org
Mon Apr 5 21:31:55 UTC 2004


Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv24335/src/or

Modified Files:
	rendservice.c 
Log Message:
Add a missing offset

Index: rendservice.c
===================================================================
RCS file: /home/or/cvsroot/src/or/rendservice.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- rendservice.c	5 Apr 2004 21:15:14 -0000	1.27
+++ rendservice.c	5 Apr 2004 21:31:53 -0000	1.28
@@ -355,7 +355,7 @@
   }
   /* Next N bytes is encrypted with service key */
   len = crypto_pk_private_hybrid_decrypt(
-       service->private_key,request,request_len-DIGEST_LEN,buf,
+       service->private_key,request+DIGEST_LEN,request_len-DIGEST_LEN,buf,
        PK_PKCS1_OAEP_PADDING);
   if (len<0) {
     log_fn(LOG_WARN, "Couldn't decrypt INTRODUCE2 cell");



More information about the tor-commits mailing list