summaryrefslogtreecommitdiff
path: root/kex.h
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2010-03-08 11:19:52 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2010-03-08 11:19:52 +0000
commit6d4f2dd11a26e3c2c7f4838f72cf07230d7678a4 (patch)
treef3af5b582d9a7808774ea77df321abab26782ebf /kex.h
parente5e752b5a70a672df97b5d7ca5c1e58c87a27234 (diff)
downloadsrc-test2-6d4f2dd11a26e3c2c7f4838f72cf07230d7678a4.tar.gz
src-test2-6d4f2dd11a26e3c2c7f4838f72cf07230d7678a4.zip
Notes
Diffstat (limited to 'kex.h')
-rw-r--r--kex.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/kex.h b/kex.h
index 68c80c5a90d2..62fa2ea50f0c 100644
--- a/kex.h
+++ b/kex.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: kex.h,v 1.47 2009/05/27 06:34:36 andreas Exp $ */
+/* $OpenBSD: kex.h,v 1.49 2010/02/26 20:29:54 djm Exp $ */
/*
* Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
@@ -36,6 +36,7 @@
#define KEX_DH14 "diffie-hellman-group14-sha1"
#define KEX_DHGEX_SHA1 "diffie-hellman-group-exchange-sha1"
#define KEX_DHGEX_SHA256 "diffie-hellman-group-exchange-sha256"
+#define KEX_RESUME "resume@appgate.com"
#define COMP_NONE 0
#define COMP_ZLIB 1
@@ -116,6 +117,7 @@ struct Kex {
char *name;
int hostkey_type;
int kex_type;
+ int roaming;
Buffer my;
Buffer peer;
sig_atomic_t done;
@@ -124,7 +126,8 @@ struct Kex {
char *client_version_string;
char *server_version_string;
int (*verify_host_key)(Key *);
- Key *(*load_host_key)(int);
+ Key *(*load_host_public_key)(int);
+ Key *(*load_host_private_key)(int);
int (*host_key_index)(Key *);
void (*kex[KEX_MAX])(Kex *);
};