summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/kex.h
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2016-09-22 21:15:42 +0000
committerDamien Miller <djm@cvs.openbsd.org>2016-09-22 21:15:42 +0000
commitaf3ff22ba3bac0604f7fab5b3d40dc8c4ba6cc3c (patch)
tree1898c55ccd3e411909d8a661b3e2a963ade525db /usr.bin/ssh/kex.h
parentad7d7a760fe736e8bbf6873ec55286111fc4ed00 (diff)
missing bit from previous commit
Diffstat (limited to 'usr.bin/ssh/kex.h')
-rw-r--r--usr.bin/ssh/kex.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/usr.bin/ssh/kex.h b/usr.bin/ssh/kex.h
index 859ccd4fbd4..16060b0011c 100644
--- a/usr.bin/ssh/kex.h
+++ b/usr.bin/ssh/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.
@@ -36,17 +36,18 @@
#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