diff options
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; |