This commit is contained in:
Matt Johnston 2015-02-13 23:15:12 +08:00
commit 02179b1218

View File

@ -183,18 +183,18 @@ algo_type sshciphers[] = {
}; };
algo_type sshhashes[] = { algo_type sshhashes[] = {
#ifdef DROPBEAR_SHA2_256_HMAC
{"hmac-sha2-256", 0, &dropbear_sha2_256, 1, NULL},
#endif
#ifdef DROPBEAR_SHA2_512_HMAC
{"hmac-sha2-512", 0, &dropbear_sha2_512, 1, NULL},
#endif
#ifdef DROPBEAR_SHA1_96_HMAC #ifdef DROPBEAR_SHA1_96_HMAC
{"hmac-sha1-96", 0, &dropbear_sha1_96, 1, NULL}, {"hmac-sha1-96", 0, &dropbear_sha1_96, 1, NULL},
#endif #endif
#ifdef DROPBEAR_SHA1_HMAC #ifdef DROPBEAR_SHA1_HMAC
{"hmac-sha1", 0, &dropbear_sha1, 1, NULL}, {"hmac-sha1", 0, &dropbear_sha1, 1, NULL},
#endif #endif
#ifdef DROPBEAR_SHA2_256_HMAC
{"hmac-sha2-256", 0, &dropbear_sha2_256, 1, NULL},
#endif
#ifdef DROPBEAR_SHA2_512_HMAC
{"hmac-sha2-512", 0, &dropbear_sha2_512, 1, NULL},
#endif
#ifdef DROPBEAR_MD5_HMAC #ifdef DROPBEAR_MD5_HMAC
{"hmac-md5", 0, (void*)&dropbear_md5, 1, NULL}, {"hmac-md5", 0, (void*)&dropbear_md5, 1, NULL},
#endif #endif