From e2cad5697abdfa89047fa2e685ce6a26a885e2ba Mon Sep 17 00:00:00 2001 From: Tobias Brick Date: Tue, 15 Apr 2025 18:41:05 +0000 Subject: [PATCH] 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) --- test/evp_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.3