summaryrefslogtreecommitdiff
path: root/src/common/crypto.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-04-06 20:55:46 +0000
committerNick Mathewson <nickm@torproject.org>2004-04-06 20:55:46 +0000
commit2fc106d2101edd80a7ba8cdcc9f49522619ba9cf (patch)
tree832842d3b113734e45d8a5391027ceb93299e899 /src/common/crypto.h
parent40a5d6055e0921ec6b9e5000d7b33c4599c6e22c (diff)
downloadtor-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.h2
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);