diff options
author | Matt Johnston <matt@ucc.asn.au> | 2005-09-23 16:29:19 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2005-09-23 16:29:19 +0000 |
commit | 1632bd4a18be897a35dc2319fd7d5f220c0963d3 (patch) | |
tree | b663d74adfc061efcf4f791d2a2a0c7e1ee97894 /common-algo.c | |
parent | a2d343b1089b0419bb3f297d5df584483c8c896a (diff) |
- a hack for grahame to run dropbear with "none" cipher.
DO NOT USE IF YOU DON'T KNOW THE CONSEQUENCES
Here is your noose. Use it wisely.
--HG--
branch : insecure-nocrypto
extra : convert_revision : 88ed2b94d9bfec9a4f661caf592ed01da5eb3b6a
Diffstat (limited to 'common-algo.c')
-rw-r--r-- | common-algo.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common-algo.c b/common-algo.c index 6ce1a37..8282360 100644 --- a/common-algo.c +++ b/common-algo.c @@ -103,6 +103,9 @@ algo_type sshciphers[] = { #ifdef DROPBEAR_BLOWFISH_CBC {"blowfish-cbc", 0, (void*)&dropbear_blowfish, 1}, #endif +#ifdef DROPBEAR_NONE_CIPHER + {"none", 0, (void*)&dropbear_nocipher, 1}, +#endif {NULL, 0, NULL, 0} }; @@ -116,6 +119,9 @@ algo_type sshhashes[] = { #ifdef DROPBEAR_MD5_HMAC {"hmac-md5", 0, (void*)&dropbear_md5, 1}, #endif +#ifdef DROPBEAR_NONE_INTEGRITY + {"none", 0, (void*)&dropbear_nohash, 1}, +#endif {NULL, 0, NULL, 0} }; |