diff options
author | djm@openbsd.org <djm@openbsd.org> | 2016-09-22 17:52:53 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2016-09-24 05:39:37 +1000 |
commit | 0493766d5676c7ca358824ea8d3c90f6047953df (patch) | |
tree | 43d2bee12148323d07bf83f9e2a30c4caf637a71 /myproposal.h | |
parent | f31c654b30a6f02ce0b8ea8ab81791b675489628 (diff) |
upstream commit
support plain curve25519-sha256 KEX algorithm now that it
is approaching standardisation (same algorithm is currently supported as
curve25519-sha256@libssh.org)
Upstream-ID: 5e2b6db2e72667048cf426da43c0ee3fc777baa2
Diffstat (limited to 'myproposal.h')
-rw-r--r-- | myproposal.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/myproposal.h b/myproposal.h index 5c088e5e..4729b30b 100644 --- a/myproposal.h +++ b/myproposal.h @@ -1,4 +1,4 @@ -/* $OpenBSD: myproposal.h,v 1.52 2016/09/05 14:02:42 djm Exp $ */ +/* $OpenBSD: myproposal.h,v 1.53 2016/09/22 17:52:53 djm Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. @@ -84,7 +84,9 @@ #ifdef WITH_OPENSSL # ifdef HAVE_EVP_SHA256 -# define KEX_CURVE25519_METHODS "curve25519-sha256@libssh.org," +# define KEX_CURVE25519_METHODS \ + "curve25519-sha256," \ + "curve25519-sha256@libssh.org," # else # define KEX_CURVE25519_METHODS "" # endif @@ -139,6 +141,7 @@ #else /* WITH_OPENSSL */ #define KEX_SERVER_KEX \ + "curve25519-sha256," \ "curve25519-sha256@libssh.org" #define KEX_DEFAULT_PK_ALG \ "ssh-ed25519-cert-v01@openssh.com," \ |