summaryrefslogtreecommitdiff
path: root/kex.h
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2021-12-19 22:08:06 +0000
committerDamien Miller <djm@mindrot.org>2021-12-20 09:24:42 +1100
commitb42c61d6840d16ef392ed0f365e8c000734669aa (patch)
tree382b0382fa3ca143ebe2994658063e2de3bc3727 /kex.h
parent26ca33d186473d58a32d812e19273ce078b6ffff (diff)
downloadopenssh-git-b42c61d6840d16ef392ed0f365e8c000734669aa.tar.gz
upstream: Record session ID, host key and sig at intital KEX
These will be used later for agent session ID / hostkey binding ok markus@ OpenBSD-Commit-ID: a9af29e33772b18e3e867c6fa8ab35e1694a81fe
Diffstat (limited to 'kex.h')
-rw-r--r--kex.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/kex.h b/kex.h
index 9605ed52..70b8909b 100644
--- a/kex.h
+++ b/kex.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: kex.h,v 1.114 2021/01/31 22:55:29 djm Exp $ */
+/* $OpenBSD: kex.h,v 1.115 2021/12/19 22:08:06 djm Exp $ */
/*
* Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
@@ -130,6 +130,7 @@ struct newkeys {
};
struct ssh;
+struct sshbuf;
struct kex {
struct newkeys *newkeys[MODE_MAX];
@@ -148,6 +149,8 @@ struct kex {
struct sshbuf *client_version;
struct sshbuf *server_version;
struct sshbuf *session_id;
+ struct sshbuf *initial_sig;
+ struct sshkey *initial_hostkey;
sig_atomic_t done;
u_int flags;
int hash_alg;