diff options
-rw-r--r-- | src/kex.c | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -94,8 +94,8 @@ static const char *default_methods[] = { HOSTKEYS, AES BLOWFISH DES, AES BLOWFISH DES, - "hmac-sha1,hmac-sha2-256,hmac-sha2-512", - "hmac-sha1,hmac-sha2-256,hmac-sha2-512", + "hmac-sha2-256,hmac-sha2-512,hmac-sha1", + "hmac-sha2-256,hmac-sha2-512,hmac-sha1", "none", "none", "", @@ -109,9 +109,8 @@ static const char *supported_methods[] = { HOSTKEYS, AES BLOWFISH DES_SUPPORTED, AES BLOWFISH DES_SUPPORTED, - "hmac-sha1,hmac-sha2-256,hmac-sha2-512", - "hmac-sha1,hmac-sha2-256,hmac-sha2-512", - ZLIB, + "hmac-sha2-256,hmac-sha2-512,hmac-sha1", + "hmac-sha2-256,hmac-sha2-512,hmac-sha1", ZLIB, "", "", |