Merge pull request #10248

86927f3 Remove invalid constexpr (Lee *!* Clagett)
This commit is contained in:
tobtoht 2025-12-09 17:38:26 +00:00
commit 37dcdebfad
No known key found for this signature in database
GPG Key ID: E45B10DD027D2472

View File

@ -71,7 +71,7 @@ namespace crypto {
return h; return h;
} }
static constexpr void cn_variant1_check(const std::size_t length, const int variant) static void cn_variant1_check(const std::size_t length, const int variant)
{ {
// see VARIANT1_CHECK in slow-hash.c // see VARIANT1_CHECK in slow-hash.c
if (variant == 1 && length < 43) if (variant == 1 && length < 43)