[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Set correct address and port mappings on outgoing rendezvou...
- To: or-cvs@freehaven.net
- Subject: [or-cvs] Set correct address and port mappings on outgoing rendezvou...
- From: nickm@seul.org (Nick Mathewson)
- Date: Tue,  6 Apr 2004 18:05:55 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Tue, 06 Apr 2004 18:06:35 -0400
- Reply-to: or-dev@freehaven.net
- Sender: owner-or-cvs@freehaven.net
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,