summaryrefslogtreecommitdiffstats
path: root/src/kex.c
diff options
context:
space:
mode:
authorDmitriy Kuznetsov <dk@yandex.ru>2012-09-07 12:19:43 +0200
committerAndreas Schneider <asn@cryptomilk.org>2012-09-07 12:19:43 +0200
commit320951f42ff5def186da70d2e52457b7c1d06f50 (patch)
treeb8dbd3e27959c3694c8639e3cd11335137a3a378 /src/kex.c
parenta3f83e72740bfc0062ab8232e5a0325354ecc1a8 (diff)
downloadlibssh-320951f42ff5def186da70d2e52457b7c1d06f50.tar.gz
libssh-320951f42ff5def186da70d2e52457b7c1d06f50.tar.xz
libssh-320951f42ff5def186da70d2e52457b7c1d06f50.zip
kex: Add simple DES support for SSHv1.
Diffstat (limited to 'src/kex.c')
-rw-r--r--src/kex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kex.c b/src/kex.c
index c23e2982..f2b5a939 100644
--- a/src/kex.c
+++ b/src/kex.c
@@ -56,6 +56,7 @@
#endif
#define DES "3des-cbc"
+#define SIMPLEDES "des-cbc-ssh1"
#endif
#ifdef WITH_ZLIB
@@ -93,6 +94,7 @@ const char *supported_methods[] = {
HOSTKEYS,
AES BLOWFISH DES,
AES BLOWFISH DES,
+ SIMPLEDES,
"hmac-sha1",
"hmac-sha1",
ZLIB,