From aa622cbb289c8ed353fd9fb88630dabec6312e7a Mon Sep 17 00:00:00 2001 From: Cameron Katri Date: Mon, 21 Mar 2022 23:47:15 -0400 Subject: Fix hash order This commit was made under a faulty assumption. Revert "Hack fix for iOS 15.1 beta" This reverts commit 294b81953c0801212a7f0927133e3c43ca231ab3. --- ldid.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- cgit v1.2.3-56-ge451