From: Tobias Brick Date: Tue, 15 Apr 2025 18:41:05 +0000 (+0000) Subject: evp_test.c: Switch the logic to skip ARGON2 EVP tests to PREFIX X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e2cad5697abdfa89047fa2e685ce6a26a885e2ba;p=thirdparty%2Fopenssl.git evp_test.c: Switch the logic to skip ARGON2 EVP tests to PREFIX The names have ARGON2 as PREFIX rather than SUFFIX. This covers the argon algorithms ARGON2D, ARGON2I, and ARGON2ID. Reviewed-by: Paul Dale Reviewed-by: Tom Cosgrove (Merged from https://github.com/openssl/openssl/pull/28756) --- diff --git a/test/evp_test.c b/test/evp_test.c index 60a5d0385aa..8a72da6645a 100644 --- a/test/evp_test.c +++ b/test/evp_test.c @@ -5717,7 +5717,7 @@ static int is_kdf_disabled(const char *name) return 1; #endif #ifdef OPENSSL_NO_ARGON2 - if (HAS_CASE_SUFFIX(name, "ARGON2")) + if (HAS_CASE_PREFIX(name, "ARGON2")) return 1; #endif return 0;