]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Fix the sporadic test failure in 30-test_evp_extra.t
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Sun, 29 Dec 2024 15:43:34 +0000 (16:43 +0100)
committerTomas Mraz <tomas@openssl.org>
Mon, 6 Jan 2025 19:46:08 +0000 (20:46 +0100)
Fixes #26276

Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26269)

test/evp_extra_test.c

index 674180de3564b775264455697ac8ea05908e0e3b..b9124d02b56d88dc8415bc0ac6575925a69860a9 100644 (file)
@@ -5939,7 +5939,8 @@ static int test_evp_cipher_pipeline(void)
         return 0;
     if (!TEST_ptr(pipeline_cipher = EVP_CIPHER_fetch(testctx, "AES-256-GCM",
                                                      "provider=fake-pipeline"))
-        || !TEST_ptr(cipher = EVP_CIPHER_fetch(testctx, "AES-256-GCM", testpropq))
+        || !TEST_ptr(cipher = EVP_CIPHER_fetch(testctx, "AES-256-GCM",
+                                               "provider!=fake-pipeline"))
         || !TEST_ptr(ctx = EVP_CIPHER_CTX_new()))
         goto end;
     memset(key, 0x01, sizeof(key));