summaryrefslogtreecommitdiff
path: root/common-algo.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2015-06-04 22:25:28 +0800
committerMatt Johnston <matt@ucc.asn.au>2015-06-04 22:25:28 +0800
commitc0e5fca0bd82e13dce2eb4c64eaf85d427e33608 (patch)
tree9ff267aac129ef25bcaebc64e0380289021d2249 /common-algo.c
parentc2d635948fc1590778e838f5e724a93c0f02817c (diff)
parentd27f071b2daa5b7bd5d97d6f296eed1d1158d155 (diff)
downloaddropbear-c0e5fca0bd82e13dce2eb4c64eaf85d427e33608.tar.gz
Merge pull request #13 from gazoo74/fix-warnings
Fix warnings
Diffstat (limited to 'common-algo.c')
-rw-r--r--common-algo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common-algo.c b/common-algo.c
index 76d3977..8970523 100644
--- a/common-algo.c
+++ b/common-algo.c
@@ -144,12 +144,15 @@ algo_type sshciphers[] = {
#ifdef DROPBEAR_AES256
{"aes256-ctr", 0, &dropbear_aes256, 1, &dropbear_mode_ctr},
#endif
+#ifdef DROPBEAR_TWOFISH_CTR
+/* twofish ctr is conditional as it hasn't been tested for interoperability, see options.h */
#ifdef DROPBEAR_TWOFISH256
{"twofish256-ctr", 0, &dropbear_twofish256, 1, &dropbear_mode_ctr},
#endif
#ifdef DROPBEAR_TWOFISH128
{"twofish128-ctr", 0, &dropbear_twofish128, 1, &dropbear_mode_ctr},
#endif
+#endif /* DROPBEAR_TWOFISH_CTR */
#endif /* DROPBEAR_ENABLE_CTR_MODE */
#ifdef DROPBEAR_ENABLE_CBC_MODE