[or-cvs] Set correct address and port mappings on outgoing rendezvou...

Nick Mathewson nickm at seul.org
Tue Apr 6 22:05:55 UTC 2004


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

Modified Files:
	crypto.c 
Log Message:
Set correct address and port mappings on outgoing rendezvous connections

Index: crypto.c
===================================================================
RCS file: /home/or/cvsroot/src/common/crypto.c,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -d -r1.73 -r1.74
--- crypto.c	6 Apr 2004 20:55:46 -0000	1.73
+++ crypto.c	6 Apr 2004 22:05:48 -0000	1.74
@@ -529,13 +529,13 @@
  * The encrypted data consists of:
  *
  *   The source data, padded and encrypted with the public key, if the
- *   padded source data is no longer than the public key.
+ *   padded source data is no longer than the public key, and "force"
+ *   is false.
  *  OR
- *   The beginning of the source data prefixed with a 16-symmetric key,
+ *   The beginning of the source data prefixed with a 16-byte symmetric key,
  *   padded and encrypted with the public key; followed by the rest of
  *   the source data encrypted in AES-CTR mode with the symmetric key.
  *
- * DOCDOC force.
  */
 int crypto_pk_public_hybrid_encrypt(crypto_pk_env_t *env,
                                     const unsigned char *from,



More information about the tor-commits mailing list