diff options
author | djm@openbsd.org <djm@openbsd.org> | 2019-01-21 10:07:22 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-01-21 21:47:28 +1100 |
commit | b1b2ff4ed559051d1035419f8f236275fa66d5d6 (patch) | |
tree | 53b2dbcf3540076c1effe3ce82c613c7fe23c58c /kex.h | |
parent | bb39bafb6dc520cc097780f4611a52da7f19c3e2 (diff) |
upstream: factor out kex_verify_hostkey() - again, duplicated
almost exactly across client and server for several KEX methods.
from markus@ ok djm@
OpenBSD-Commit-ID: 4e4a16d949dadde002a0aacf6d280a684e20829c
Diffstat (limited to 'kex.h')
-rw-r--r-- | kex.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: kex.h,v 1.97 2019/01/21 10:05:09 djm Exp $ */ | 1 | /* $OpenBSD: kex.h,v 1.98 2019/01/21 10:07:22 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. |
@@ -185,6 +185,7 @@ int kex_buf2prop(struct sshbuf *, int *, char ***); | |||
185 | int kex_prop2buf(struct sshbuf *, char *proposal[PROPOSAL_MAX]); | 185 | int kex_prop2buf(struct sshbuf *, char *proposal[PROPOSAL_MAX]); |
186 | void kex_prop_free(char **); | 186 | void kex_prop_free(char **); |
187 | int kex_load_hostkey(struct ssh *, struct sshkey **, struct sshkey **); | 187 | int kex_load_hostkey(struct ssh *, struct sshkey **, struct sshkey **); |
188 | int kex_verify_host_key(struct ssh *, struct sshkey *); | ||
188 | 189 | ||
189 | int kex_send_kexinit(struct ssh *); | 190 | int kex_send_kexinit(struct ssh *); |
190 | int kex_input_kexinit(int, u_int32_t, struct ssh *); | 191 | int kex_input_kexinit(int, u_int32_t, struct ssh *); |