diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-04-06 20:55:46 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-04-06 20:55:46 +0000 |
commit | 2fc106d2101edd80a7ba8cdcc9f49522619ba9cf (patch) | |
tree | 832842d3b113734e45d8a5391027ceb93299e899 /src/common/crypto.h | |
parent | 40a5d6055e0921ec6b9e5000d7b33c4599c6e22c (diff) | |
download | tor-2fc106d2101edd80a7ba8cdcc9f49522619ba9cf.tar.gz tor-2fc106d2101edd80a7ba8cdcc9f49522619ba9cf.zip |
Force hybrid encryption on for key negotiation
svn:r1509
Diffstat (limited to 'src/common/crypto.h')
-rw-r--r-- | src/common/crypto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/crypto.h b/src/common/crypto.h index 94a18abf2e..d9da82a05f 100644 --- a/src/common/crypto.h +++ b/src/common/crypto.h @@ -64,7 +64,7 @@ int crypto_pk_public_checksig(crypto_pk_env_t *env, const unsigned char *from, i int crypto_pk_public_checksig_digest(crypto_pk_env_t *env, const unsigned char *data, int datalen, const unsigned char *sig, int siglen); int crypto_pk_public_hybrid_encrypt(crypto_pk_env_t *env, const unsigned char *from, int fromlen, - unsigned char *to, int padding); + unsigned char *to, int padding, int force); int crypto_pk_private_hybrid_decrypt(crypto_pk_env_t *env, const unsigned char *from, int fromlen, unsigned char *to,int padding); |