summaryrefslogtreecommitdiffhomepage
path: root/common-session.c
diff options
context:
space:
mode:
Diffstat (limited to 'common-session.c')
-rw-r--r--common-session.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common-session.c b/common-session.c
index 3d759b5..b5f4aae 100644
--- a/common-session.c
+++ b/common-session.c
@@ -96,6 +96,8 @@ void common_session_init(int sock_in, int sock_out, char* remotehost) {
ses.newkeys = NULL;
ses.keys->recv_algo_crypt = &dropbear_nocipher;
ses.keys->trans_algo_crypt = &dropbear_nocipher;
+ ses.keys->recv_crypt_mode = &dropbear_mode_none;
+ ses.keys->trans_crypt_mode = &dropbear_mode_none;
ses.keys->recv_algo_mac = &dropbear_nohash;
ses.keys->trans_algo_mac = &dropbear_nohash;