]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
evp_test.c: Switch the logic to skip ARGON2 EVP tests to PREFIX
authorTobias Brick <tobiasb@microsoft.com>
Tue, 15 Apr 2025 18:41:05 +0000 (18:41 +0000)
committerTomas Mraz <tomas@openssl.org>
Tue, 14 Oct 2025 15:45:24 +0000 (17:45 +0200)
The names have ARGON2 as PREFIX rather than SUFFIX.
This covers the argon algorithms ARGON2D, ARGON2I, and ARGON2ID.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
(Merged from https://github.com/openssl/openssl/pull/28756)

test/evp_test.c

index 60a5d0385aa94fcaa5d445ab5eec3df45eefed6b..8a72da6645a9717517c9e06222a745e144ff2fa6 100644 (file)
@@ -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;