summaryrefslogtreecommitdiff
path: root/kex.h
diff options
context:
space:
mode:
Diffstat (limited to 'kex.h')
-rw-r--r--kex.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/kex.h b/kex.h
index 81c41342a..29e1e887f 100644
--- a/kex.h
+++ b/kex.h
@@ -102,7 +102,8 @@ struct Kex {
102}; 102};
103 103
104Buffer *kex_init(char *myproposal[PROPOSAL_MAX]); 104Buffer *kex_init(char *myproposal[PROPOSAL_MAX]);
105DH *new_dh_group1(); 105int dh_pub_is_valid(DH *dh, BIGNUM *dh_pub);
106DH *dh_new_group1();
106Kex *kex_choose_conf(char *cprop[PROPOSAL_MAX], char *sprop[PROPOSAL_MAX], int server); 107Kex *kex_choose_conf(char *cprop[PROPOSAL_MAX], char *sprop[PROPOSAL_MAX], int server);
107int kex_derive_keys(Kex *k, unsigned char *hash, BIGNUM *shared_secret); 108int kex_derive_keys(Kex *k, unsigned char *hash, BIGNUM *shared_secret);
108void bignum_print(BIGNUM *b); 109void bignum_print(BIGNUM *b);