mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 18:04:25 +09:00
kex: Prefer sha2 over sha1
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@@ -94,8 +94,8 @@ static const char *default_methods[] = {
|
|||||||
HOSTKEYS,
|
HOSTKEYS,
|
||||||
AES BLOWFISH DES,
|
AES BLOWFISH DES,
|
||||||
AES BLOWFISH DES,
|
AES BLOWFISH DES,
|
||||||
"hmac-sha1,hmac-sha2-256,hmac-sha2-512",
|
"hmac-sha2-256,hmac-sha2-512,hmac-sha1",
|
||||||
"hmac-sha1,hmac-sha2-256,hmac-sha2-512",
|
"hmac-sha2-256,hmac-sha2-512,hmac-sha1",
|
||||||
"none",
|
"none",
|
||||||
"none",
|
"none",
|
||||||
"",
|
"",
|
||||||
@@ -109,9 +109,8 @@ static const char *supported_methods[] = {
|
|||||||
HOSTKEYS,
|
HOSTKEYS,
|
||||||
AES BLOWFISH DES_SUPPORTED,
|
AES BLOWFISH DES_SUPPORTED,
|
||||||
AES BLOWFISH DES_SUPPORTED,
|
AES BLOWFISH DES_SUPPORTED,
|
||||||
"hmac-sha1,hmac-sha2-256,hmac-sha2-512",
|
"hmac-sha2-256,hmac-sha2-512,hmac-sha1",
|
||||||
"hmac-sha1,hmac-sha2-256,hmac-sha2-512",
|
"hmac-sha2-256,hmac-sha2-512,hmac-sha1",
|
||||||
ZLIB,
|
|
||||||
ZLIB,
|
ZLIB,
|
||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
|
|||||||
Reference in New Issue
Block a user