diff options
Diffstat (limited to 'ldid.cpp')
-rw-r--r-- | ldid.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |