From f24519e4b9aeb39cbed50283936b86220c199e81 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 6 Apr 2004 22:05:49 +0000 Subject: Set correct address and port mappings on outgoing rendezvous connections svn:r1513 --- src/common/crypto.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/common') diff --git a/src/common/crypto.c b/src/common/crypto.c index c6f5b5520..a6e57129d 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -529,13 +529,13 @@ int crypto_pk_private_sign_digest(crypto_pk_env_t *env, const unsigned char *fro * 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, -- cgit v1.2.3