aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCameron Katri <me@cameronkatri.com>2022-03-21 23:47:15 -0400
committerCameron Katri <me@cameronkatri.com>2022-03-21 23:47:15 -0400
commitaa622cbb289c8ed353fd9fb88630dabec6312e7a (patch)
treefa940a07f695a4059f9fb730e6e3052f1f31fe12
parent6260a9a9b99ce72e65b4786c16eb74b9afd575de (diff)
downloadldid-aa622cbb289c8ed353fd9fb88630dabec6312e7a.tar.gz
ldid-aa622cbb289c8ed353fd9fb88630dabec6312e7a.tar.zst
ldid-aa622cbb289c8ed353fd9fb88630dabec6312e7a.zip
Fix hash order
This commit was made under a faulty assumption. Revert "Hack fix for iOS 15.1 beta" This reverts commit 294b81953c0801212a7f0927133e3c43ca231ab3.
-rw-r--r--ldid.cpp4
1 files 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<Algorithm *> &GetAlgorithms() {
static std::vector<Algorithm *> 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;