]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
- (dtucker) [myproposal.h] Conditionally enable CURVE25519_SHA256.
authorDarren Tucker <dtucker@zip.com.au>
Fri, 8 Nov 2013 10:10:04 +0000 (21:10 +1100)
committerDarren Tucker <dtucker@zip.com.au>
Fri, 8 Nov 2013 10:10:04 +0000 (21:10 +1100)
ChangeLog
myproposal.h

index 1c2362461c42b134fae67384c84d9c5ca3e739d3..e7d934fdbb3b0e5535577305d7d2631a14f6580c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -23,6 +23,7 @@
    arc4random_stir (right now this is only OpenBSD -current).
  - (dtucker) [kex.c] Only enable CURVE25519_SHA256 if we actually have
    EVP_sha256.
+ - (dtucker) [myproposal.h] Conditionally enable CURVE25519_SHA256.
 
 20131107
  - (djm) [ssh-pkcs11.c] Bring back "non-constant initialiser" fix (rev 1.5)
index 0820749a82fafa1366fb7f6f7ff654dc233ef17f..56f8c4a842b88a290298214222866d3dea450f3e 100644 (file)
 #ifdef HAVE_EVP_SHA256
 # define KEX_SHA256_METHODS \
        "diffie-hellman-group-exchange-sha256,"
+#define KEX_CURVE25519_METHODS \
+       "curve25519-sha256@libssh.org,"
 #define        SHA2_HMAC_MODES \
        "hmac-sha2-256," \
        "hmac-sha2-512,"
 #else
 # define KEX_SHA256_METHODS
+# define KEX_CURVE25519_METHODS
 # define SHA2_HMAC_MODES
 #endif
 
 # define KEX_DEFAULT_KEX \
-       "curve25519-sha256@libssh.org," \
+       KEX_CURVE25519_METHODS \
        KEX_ECDH_METHODS \
        KEX_SHA256_METHODS \
        "diffie-hellman-group-exchange-sha1," \