summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2015-01-28 22:14:07 +0800
committerMatt Johnston <matt@ucc.asn.au>2015-01-28 22:14:07 +0800
commit2bd89d77d9c7c3a9e5233855c201e19710a84b50 (patch)
tree1604c3d7f268177045e2986c1097b2104bb9b017
parentc18ee5a041c9f5b71312b2009af022328f52c923 (diff)
downloaddropbear-2bd89d77d9c7c3a9e5233855c201e19710a84b50.tar.gz
Keep sha1 default
-rw-r--r--common-algo.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/common-algo.c b/common-algo.c
index 9abc330..65f1913 100644
--- a/common-algo.c
+++ b/common-algo.c
@@ -177,18 +177,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