]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream commit
authordjm@openbsd.org <djm@openbsd.org>
Thu, 22 Sep 2016 21:15:41 +0000 (21:15 +0000)
committerDamien Miller <djm@mindrot.org>
Fri, 23 Sep 2016 19:39:37 +0000 (05:39 +1000)
missing bit from previous commit

Upstream-ID: 438d5ed6338b28b46e822eb13eee448aca31df37

kex.h

diff --git a/kex.h b/kex.h
index c35195568708aaf4d9d0bfa0d0c7f77d91d699d7..382630660a11deaeb731ae7a03a3442c24006b04 100644 (file)
--- a/kex.h
+++ b/kex.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: kex.h,v 1.78 2016/05/02 10:26:04 djm Exp $ */
+/* $OpenBSD: kex.h,v 1.79 2016/09/22 21:15:41 djm Exp $ */
 
 /*
  * Copyright (c) 2000, 2001 Markus Friedl.  All rights reserved.
 
 #define KEX_COOKIE_LEN 16
 
-#define        KEX_DH1                 "diffie-hellman-group1-sha1"
-#define        KEX_DH14_SHA1           "diffie-hellman-group14-sha1"
-#define        KEX_DH14_SHA256         "diffie-hellman-group14-sha256"
-#define        KEX_DH16_SHA512         "diffie-hellman-group16-sha512"
-#define        KEX_DH18_SHA512         "diffie-hellman-group18-sha512"
-#define        KEX_DHGEX_SHA1          "diffie-hellman-group-exchange-sha1"
-#define        KEX_DHGEX_SHA256        "diffie-hellman-group-exchange-sha256"
-#define        KEX_ECDH_SHA2_NISTP256  "ecdh-sha2-nistp256"
-#define        KEX_ECDH_SHA2_NISTP384  "ecdh-sha2-nistp384"
-#define        KEX_ECDH_SHA2_NISTP521  "ecdh-sha2-nistp521"
-#define        KEX_CURVE25519_SHA256   "curve25519-sha256@libssh.org"
+#define        KEX_DH1                         "diffie-hellman-group1-sha1"
+#define        KEX_DH14_SHA1                   "diffie-hellman-group14-sha1"
+#define        KEX_DH14_SHA256                 "diffie-hellman-group14-sha256"
+#define        KEX_DH16_SHA512                 "diffie-hellman-group16-sha512"
+#define        KEX_DH18_SHA512                 "diffie-hellman-group18-sha512"
+#define        KEX_DHGEX_SHA1                  "diffie-hellman-group-exchange-sha1"
+#define        KEX_DHGEX_SHA256                "diffie-hellman-group-exchange-sha256"
+#define        KEX_ECDH_SHA2_NISTP256          "ecdh-sha2-nistp256"
+#define        KEX_ECDH_SHA2_NISTP384          "ecdh-sha2-nistp384"
+#define        KEX_ECDH_SHA2_NISTP521          "ecdh-sha2-nistp521"
+#define        KEX_CURVE25519_SHA256           "curve25519-sha256"
+#define        KEX_CURVE25519_SHA256_OLD       "curve25519-sha256@libssh.org"
 
 #define COMP_NONE      0
 #define COMP_ZLIB      1