summaryrefslogtreecommitdiffhomepage
path: root/common-algo.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2015-02-13 23:15:12 +0800
committerMatt Johnston <matt@ucc.asn.au>2015-02-13 23:15:12 +0800
commit02179b12187bb2a25b19940165660a730553ad3c (patch)
tree71ed077c225ca3092ce4361b75dbc26af10378cb /common-algo.c
parent1e350de1366cd80498c2ff7bd1166f9928d30b98 (diff)
parent4de876f259b3be32bb20d9d535bb88ba668924e4 (diff)
merge
Diffstat (limited to 'common-algo.c')
-rw-r--r--common-algo.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/common-algo.c b/common-algo.c
index 6a20282..9a3664b 100644
--- a/common-algo.c
+++ b/common-algo.c
@@ -183,18 +183,18 @@ algo_type sshciphers[] = {
};
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
{"hmac-sha1-96", 0, &dropbear_sha1_96, 1, NULL},
#endif
#ifdef DROPBEAR_SHA1_HMAC
{"hmac-sha1", 0, &dropbear_sha1, 1, NULL},
#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
{"hmac-md5", 0, (void*)&dropbear_md5, 1, NULL},
#endif