diff options
author | Dmitriy Kuznetsov <dk@yandex.ru> | 2012-09-07 12:19:43 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2012-09-07 12:19:43 +0200 |
commit | 320951f42ff5def186da70d2e52457b7c1d06f50 (patch) | |
tree | b8dbd3e27959c3694c8639e3cd11335137a3a378 /src/packet_cb.c | |
parent | a3f83e72740bfc0062ab8232e5a0325354ecc1a8 (diff) | |
download | libssh-320951f42ff5def186da70d2e52457b7c1d06f50.tar.gz libssh-320951f42ff5def186da70d2e52457b7c1d06f50.tar.xz libssh-320951f42ff5def186da70d2e52457b7c1d06f50.zip |
kex: Add simple DES support for SSHv1.
Diffstat (limited to 'src/packet_cb.c')
-rw-r--r-- | src/packet_cb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/packet_cb.c b/src/packet_cb.c index f236fe57..dd77dd7c 100644 --- a/src/packet_cb.c +++ b/src/packet_cb.c @@ -143,7 +143,7 @@ SSH_PACKET_CALLBACK(ssh_packet_newkeys){ * Set the cryptographic functions for the next crypto * (it is needed for generate_session_keys for key lengths) */ - if (crypt_set_algorithms(session)) { + if (crypt_set_algorithms(session, SSH_3DES) /* knows nothing about DES*/ ) { goto error; } |