diff options
| author | Cameron Katri <me@cameronkatri.com> | 2021-10-13 13:52:16 -0400 |
|---|---|---|
| committer | Cameron Katri <me@cameronkatri.com> | 2021-10-13 13:52:16 -0400 |
| commit | 294b81953c0801212a7f0927133e3c43ca231ab3 (patch) | |
| tree | 1a87c5a845de6de9fb1ec0d15e139d5f6b0708c2 /ldid.cpp | |
| parent | baa8a880e5b2c1990939cf40ce6c9135c0379561 (diff) | |
| download | ldid-294b81953c0801212a7f0927133e3c43ca231ab3.tar.gz ldid-294b81953c0801212a7f0927133e3c43ca231ab3.zip | |
Hack fix for iOS 15.1 beta
iOS 15.1+ requires either hash agility or sha256 to be before sha1.
Diffstat (limited to 'ldid.cpp')
| -rw-r--r-- | ldid.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1251,10 +1251,10 @@ static const std::vector<Algorithm *> &GetAlgorithms() { static std::vector<Algorithm *> algorithms; if (algorithms.empty()) { - if (do_sha1) - algorithms.push_back(&sha1); if (do_sha256) algorithms.push_back(&sha256); + if (do_sha1) + algorithms.push_back(&sha1); } return algorithms; |
