aboutsummaryrefslogtreecommitdiff
path: root/src/packet_cb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/packet_cb.c')
-rw-r--r--src/packet_cb.c2
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;
}