summaryrefslogtreecommitdiff
path: root/kex.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-04-12 20:17:38 +1000
committerDamien Miller <djm@mindrot.org>2000-04-12 20:17:38 +1000
commit78928793fb23a3a4c80ae62eca6a7826b2987690 (patch)
treeadd8a953ac4cf06877b91624fe7f647b17e6cf6f /kex.h
parentefb4afe0265333ce554f699c2a19ae249dd8d1b5 (diff)
- OpenBSD CVS updates:
- [channels.c] repair x11-fwd - [sshconnect.c] fix passwd prompt for ssh2, less debugging output. - [clientloop.c compat.c dsa.c kex.c sshd.c] less debugging output - [kex.c kex.h sshconnect.c sshd.c] check for reasonable public DH values - [README.openssh2 cipher.c cipher.h compat.c compat.h readconf.c] [readconf.h servconf.c servconf.h ssh.c ssh.h sshconnect.c sshd.c] add Cipher and Protocol options to ssh/sshd, e.g.: ssh -o 'Protocol 1,2' if you prefer proto 1, ssh -o 'Ciphers arcfour,3des-cbc' - [sshd.c] print 1.99 only if server supports both
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);