X-Git-Url: https://git.cameronkatri.com/ldid.git/blobdiff_plain/572d89dc95418fc4349641e3b3bb41b456409a87..294b81953c0801212a7f0927133e3c43ca231ab3:/ldid.cpp diff --git a/ldid.cpp b/ldid.cpp index 08dcf55..94a8a05 100644 --- a/ldid.cpp +++ b/ldid.cpp @@ -45,7 +45,7 @@ #ifndef LDID_NOSMIME #include # if OPENSSL_VERSION_NUM >= 0x30000000 -#include +# include # endif #include #include @@ -1251,10 +1251,10 @@ static const std::vector &GetAlgorithms() { static std::vector 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;