diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2018-06-28 17:52:58 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-06-29 14:41:14 +0200 |
commit | 206f3ff895d3d822ac4f23426136537129f9f062 (patch) | |
tree | 59728e18437ec9308d14a50082ef831b5b158612 /src/kex.c | |
parent | 81b4320318966e83678641a06717c301b071971b (diff) | |
download | libssh-206f3ff895d3d822ac4f23426136537129f9f062.tar.gz libssh-206f3ff895d3d822ac4f23426136537129f9f062.tar.xz libssh-206f3ff895d3d822ac4f23426136537129f9f062.zip |
Rest in Peace SSHv1
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Diffstat (limited to 'src/kex.c')
-rw-r--r-- | src/kex.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -41,13 +41,13 @@ # define BLOWFISH "blowfish-cbc," # define AES "aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc," # define DES "3des-cbc" -# define DES_SUPPORTED "3des-cbc,des-cbc-ssh1" +# define DES_SUPPORTED "3des-cbc" #elif defined HAVE_LIBMBEDCRYPTO # define BLOWFISH "blowfish-cbc," # define AES "aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc," # define DES "3des-cbc" -# define DES_SUPPORTED "3des-cbc,des-cbc-ssh1" +# define DES_SUPPORTED "3des-cbc" #elif defined(HAVE_LIBCRYPTO) @@ -68,7 +68,7 @@ # endif /* HAVE_OPENSSL_AES_H */ # define DES "3des-cbc" -# define DES_SUPPORTED "3des-cbc,des-cbc-ssh1" +# define DES_SUPPORTED "3des-cbc" #endif /* HAVE_LIBCRYPTO */ #ifdef WITH_ZLIB @@ -575,7 +575,6 @@ static char *ssh_client_select_hostkeys(ssh_session session){ #ifdef HAVE_DSA "ssh-dss", #endif - "ssh-rsa1", NULL }; char **methods; |