comparison common-kex.c @ 1558:2f64cb3d3007 fuzz

- #if not #ifdef for DROPBEAR_FUZZ - fix some unused variables
author Matt Johnston <matt@ucc.asn.au>
date Wed, 28 Feb 2018 21:40:08 +0800
parents 5916af64acd4
children 0bdbb9ecc403
comparison
equal deleted inserted replaced
1557:61a793b6e471 1558:2f64cb3d3007
947 (struct dropbear_hash*)s2c_hash_algo->data; 947 (struct dropbear_hash*)s2c_hash_algo->data;
948 ses.newkeys->recv.algo_comp = c2s_comp_algo->val; 948 ses.newkeys->recv.algo_comp = c2s_comp_algo->val;
949 ses.newkeys->trans.algo_comp = s2c_comp_algo->val; 949 ses.newkeys->trans.algo_comp = s2c_comp_algo->val;
950 } 950 }
951 951
952 #ifdef DROPBEAR_FUZZ 952 #if DROPBEAR_FUZZ
953 if (fuzz.fuzzing) { 953 if (fuzz.fuzzing) {
954 fuzz_kex_fakealgos(); 954 fuzz_kex_fakealgos();
955 } 955 }
956 #endif 956 #endif
957 957