mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-06 18:29:50 +09:00
Remove zlib from the default compression methods and fips methods
Signed-off-by: Khalid Mamdouh <khalidmamdou7@gmail.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
10
src/kex.c
10
src/kex.c
@@ -89,8 +89,10 @@
|
||||
|
||||
#ifdef WITH_ZLIB
|
||||
#define ZLIB "none,zlib@openssh.com,zlib"
|
||||
#define ZLIB_DEFAULT "none,zlib@openssh.com"
|
||||
#else
|
||||
#define ZLIB "none"
|
||||
#define ZLIB_DEFAULT "none"
|
||||
#endif /* WITH_ZLIB */
|
||||
|
||||
#ifdef HAVE_CURVE25519
|
||||
@@ -216,8 +218,8 @@ static const char *fips_methods[] = {
|
||||
FIPS_ALLOWED_CIPHERS,
|
||||
FIPS_ALLOWED_MACS,
|
||||
FIPS_ALLOWED_MACS,
|
||||
ZLIB,
|
||||
ZLIB,
|
||||
ZLIB_DEFAULT,
|
||||
ZLIB_DEFAULT,
|
||||
"",
|
||||
"",
|
||||
NULL
|
||||
@@ -231,8 +233,8 @@ static const char *default_methods[] = {
|
||||
CHACHA20 AES,
|
||||
"hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512",
|
||||
"hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512",
|
||||
ZLIB,
|
||||
ZLIB,
|
||||
ZLIB_DEFAULT,
|
||||
ZLIB_DEFAULT,
|
||||
"",
|
||||
"",
|
||||
NULL
|
||||
|
||||
Reference in New Issue
Block a user