diff options
Diffstat (limited to 'common-algo.c')
-rw-r--r-- | common-algo.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/common-algo.c b/common-algo.c index 8863367..34e9efd 100644 --- a/common-algo.c +++ b/common-algo.c @@ -150,7 +150,10 @@ algo_type sshciphers[] = { #ifdef DROPBEAR_BLOWFISH {"blowfish-cbc", 0, &dropbear_blowfish, 1, &dropbear_mode_cbc}, #endif - {NULL, 0, NULL, 0, NULL} +#ifdef DROPBEAR_NONE_CIPHER + {"none", 0, (void*)&dropbear_nocipher, 1}, +#endif + {NULL, 0, NULL, 0} }; algo_type sshhashes[] = { @@ -161,9 +164,12 @@ 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}, #endif - {NULL, 0, NULL, 0, NULL} +#ifdef DROPBEAR_NONE_INTEGRITY + {"none", 0, (void*)&dropbear_nohash, 1}, +#endif + {NULL, 0, NULL, 0} }; algo_type sshcompress[] = { |