diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2019-01-21 10:05:10 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2019-01-21 10:05:10 +0000 |
commit | 13d057d5895866631bfd8774df1a8a572b12b015 (patch) | |
tree | d2c74c63ac45b5d949dd20b46b31f9640a16a2e9 /usr.bin/ssh/kex.h | |
parent | 43635f27e001110681c24e119e3f9c71205eb72c (diff) |
factor out kex_load_hostkey() - this is duplicated in both the client and
server implementations for most KEX methods.
from markus@ ok djm@
Diffstat (limited to 'usr.bin/ssh/kex.h')
-rw-r--r-- | usr.bin/ssh/kex.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/kex.h b/usr.bin/ssh/kex.h index fae0b759bd1..6f7964dfaf1 100644 --- a/usr.bin/ssh/kex.h +++ b/usr.bin/ssh/kex.h @@ -1,4 +1,4 @@ -/* $OpenBSD: kex.h,v 1.96 2019/01/21 10:03:37 djm Exp $ */ +/* $OpenBSD: kex.h,v 1.97 2019/01/21 10:05:09 djm Exp $ */ /* * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. @@ -168,6 +168,7 @@ void kex_free(struct kex *); int kex_buf2prop(struct sshbuf *, int *, char ***); int kex_prop2buf(struct sshbuf *, char *proposal[PROPOSAL_MAX]); void kex_prop_free(char **); +int kex_load_hostkey(struct ssh *, struct sshkey **, struct sshkey **); int kex_send_kexinit(struct ssh *); int kex_input_kexinit(int, u_int32_t, struct ssh *); |