summaryrefslogtreecommitdiff
path: root/kex.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-04-04 17:52:53 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-04-04 17:52:53 +0000
commit238abf6a14d6ed038918fa35f618089230e68fd6 (patch)
tree7a856c03b822853fc08ef711e6a0bf05c738e6a0 /kex.h
parent22b19b43e420c9fc711a38631187820573d0f047 (diff)
- markus@cvs.openbsd.org 2001/04/04 09:48:35
[kex.c kex.h kexdh.c kexgex.c packet.c sshconnect2.c sshd.c] don't sent multiple kexinit-requests. send newkeys, block while waiting for newkeys. fix comments.
Diffstat (limited to 'kex.h')
-rw-r--r--kex.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/kex.h b/kex.h
index 83f54fd96..c37d3aa5f 100644
--- a/kex.h
+++ b/kex.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: kex.h,v 1.19 2001/04/03 23:32:12 markus Exp $ */ 1/* $OpenBSD: kex.h,v 1.20 2001/04/04 09:48:34 markus Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2000 Markus Friedl. All rights reserved. 4 * Copyright (c) 2000 Markus Friedl. All rights reserved.
@@ -111,8 +111,9 @@ struct Kex {
111 Key *(*load_host_key)(int type); 111 Key *(*load_host_key)(int type);
112}; 112};
113 113
114Kex *kex_start(char *proposal[PROPOSAL_MAX]); 114Kex *kex_setup(char *proposal[PROPOSAL_MAX]);
115void kex_send_newkeys(void); 115void kex_finish(Kex *kex);
116
116void kex_send_kexinit(Kex *kex); 117void kex_send_kexinit(Kex *kex);
117void kex_protocol_error(int type, int plen, void *ctxt); 118void kex_protocol_error(int type, int plen, void *ctxt);
118void kex_derive_keys(Kex *k, u_char *hash, BIGNUM *shared_secret); 119void kex_derive_keys(Kex *k, u_char *hash, BIGNUM *shared_secret);