From: Cameron Katri Date: Tue, 22 Mar 2022 03:47:15 +0000 (-0400) Subject: Fix hash order X-Git-Tag: v2.1.5-procursus3~25 X-Git-Url: https://git.cameronkatri.com/ldid.git/commitdiff_plain/aa622cbb289c8ed353fd9fb88630dabec6312e7a Fix hash order This commit was made under a faulty assumption. Revert "Hack fix for iOS 15.1 beta" This reverts commit 294b81953c0801212a7f0927133e3c43ca231ab3. --- diff --git a/ldid.cpp b/ldid.cpp index f65b084..9cea7b8 100644 --- a/ldid.cpp +++ b/ldid.cpp @@ -1253,10 +1253,10 @@ static const std::vector &GetAlgorithms() { static std::vector algorithms; if (algorithms.empty()) { - if (do_sha256) - algorithms.push_back(&sha256); if (do_sha1) algorithms.push_back(&sha1); + if (do_sha256) + algorithms.push_back(&sha256); } return algorithms;