summaryrefslogtreecommitdiff
path: root/kex.h
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2015-02-16 22:13:32 +0000
committerDamien Miller <djm@mindrot.org>2015-02-17 09:32:32 +1100
commit523463a3a2a9bfc6cfc5afa01bae9147f76a37cc (patch)
tree772be92cee9553c19d51b4570113c3d4de0c2d8b /kex.h
parent6c5c949782d86a6e7d58006599c7685bfcd01685 (diff)
upstream commit
Revise hostkeys@openssh.com hostkey learning extension. The client will not ask the server to prove ownership of the private halves of any hitherto-unseen hostkeys it offers to the client. Allow UpdateHostKeys option to take an 'ask' argument to let the user manually review keys offered. ok markus@
Diffstat (limited to 'kex.h')
-rw-r--r--kex.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/kex.h b/kex.h
index 45d35773c..99a7d55bf 100644
--- a/kex.h
+++ b/kex.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: kex.h,v 1.70 2015/01/26 06:10:03 djm Exp $ */ 1/* $OpenBSD: kex.h,v 1.71 2015/02/16 22:13:32 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.
@@ -130,9 +130,9 @@ struct kex {
130 int (*verify_host_key)(struct sshkey *, struct ssh *); 130 int (*verify_host_key)(struct sshkey *, struct ssh *);
131 struct sshkey *(*load_host_public_key)(int, int, struct ssh *); 131 struct sshkey *(*load_host_public_key)(int, int, struct ssh *);
132 struct sshkey *(*load_host_private_key)(int, int, struct ssh *); 132 struct sshkey *(*load_host_private_key)(int, int, struct ssh *);
133 int (*host_key_index)(struct sshkey *, struct ssh *); 133 int (*host_key_index)(struct sshkey *, int, struct ssh *);
134 int (*sign)(struct sshkey *, struct sshkey *, 134 int (*sign)(struct sshkey *, struct sshkey *,
135 u_char **, size_t *, u_char *, size_t, u_int); 135 u_char **, size_t *, const u_char *, size_t, u_int);
136 int (*kex[KEX_MAX])(struct ssh *); 136 int (*kex[KEX_MAX])(struct ssh *);
137 /* kex specific state */ 137 /* kex specific state */
138 DH *dh; /* DH */ 138 DH *dh; /* DH */