diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-04 17:52:53 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-04 17:52:53 +0000 |
commit | 238abf6a14d6ed038918fa35f618089230e68fd6 (patch) | |
tree | 7a856c03b822853fc08ef711e6a0bf05c738e6a0 /kex.h | |
parent | 22b19b43e420c9fc711a38631187820573d0f047 (diff) | |
download | openssh-git-238abf6a14d6ed038918fa35f618089230e68fd6.tar.gz |
- 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.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: kex.h,v 1.19 2001/04/03 23:32:12 markus Exp $ */ +/* $OpenBSD: kex.h,v 1.20 2001/04/04 09:48:34 markus Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. @@ -111,8 +111,9 @@ struct Kex { Key *(*load_host_key)(int type); }; -Kex *kex_start(char *proposal[PROPOSAL_MAX]); -void kex_send_newkeys(void); +Kex *kex_setup(char *proposal[PROPOSAL_MAX]); +void kex_finish(Kex *kex); + void kex_send_kexinit(Kex *kex); void kex_protocol_error(int type, int plen, void *ctxt); void kex_derive_keys(Kex *k, u_char *hash, BIGNUM *shared_secret); |