summaryrefslogtreecommitdiffhomepage
path: root/common-algo.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2012-05-16 22:54:51 +0800
committerMatt Johnston <matt@ucc.asn.au>2012-05-16 22:54:51 +0800
commitf40ed8bad70fc9bb2ffb3cb7f81dd0352103612b (patch)
treeb124a417e1420f5fbb976d03f40417b15d162e9c /common-algo.c
parent41f50057f1671f4fd44cf7bc752a54f0897b709c (diff)
parent1912439526aff3ebb50aaf370b1744ba3d3e8fc5 (diff)
Update insecure-nocrypto to current head
--HG-- branch : insecure-nocrypto
Diffstat (limited to 'common-algo.c')
-rw-r--r--common-algo.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/common-algo.c b/common-algo.c
index e65bd18..4383bca 100644
--- a/common-algo.c
+++ b/common-algo.c
@@ -160,6 +160,9 @@ algo_type sshciphers[] = {
#ifdef DROPBEAR_BLOWFISH
{"blowfish-cbc", 0, &dropbear_blowfish, 1, &dropbear_mode_cbc},
#endif
+#ifdef DROPBEAR_NONE_CIPHER
+ {"none", 0, (void*)&dropbear_nocipher, 1, &dropbear_mode_none},
+#endif
{NULL, 0, NULL, 0, NULL}
};
@@ -177,7 +180,10 @@ algo_type sshhashes[] = {
{"hmac-sha1", 0, &dropbear_sha1, 1, NULL},
#endif
#ifdef DROPBEAR_MD5_HMAC
- {"hmac-md5", 0, &dropbear_md5, 1, NULL},
+ {"hmac-md5", 0, (void*)&dropbear_md5, 1, NULL},
+#endif
+#ifdef DROPBEAR_NONE_INTEGRITY
+ {"none", 0, (void*)&dropbear_nohash, 1, NULL},
#endif
{NULL, 0, NULL, 0, NULL}
};