summaryrefslogtreecommitdiff
path: root/kex.h
diff options
context:
space:
mode:
authordtucker <dtucker>2010-01-08 05:50:41 +0000
committerdtucker <dtucker>2010-01-08 05:50:41 +0000
commit02586d23f45924ecfc2be44fc4cd50f318a8e40d (patch)
tree8280842f54e3adb3b3fffeda812fc99c408f13fa /kex.h
parent530d0220d8de0a34eb654526b86d1f9f04e61525 (diff)
downloadopenssh-02586d23f45924ecfc2be44fc4cd50f318a8e40d.tar.gz
- andreas@cvs.openbsd.org 2009/10/24 11:13:54
[sshconnect2.c kex.h kex.c] Let the client detect if the server supports roaming by looking for the resume@appgate.com kex algorithm. ok markus@
Diffstat (limited to 'kex.h')
-rw-r--r--kex.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/kex.h b/kex.h
index 68c80c5a..1fa13799 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.48 2009/10/24 11:13:54 andreas 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;