]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Postponed further context duplication support for ciphers
authorTomas Mraz <tomas@openssl.org>
Wed, 13 Sep 2023 14:56:58 +0000 (16:56 +0200)
committerPauli <pauli@openssl.org>
Tue, 19 Sep 2023 04:37:17 +0000 (14:37 +1000)
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22094)

test/evp_test.c

index f15b2c5a1732c70d24df453d0b614656f3058740..ff424eac729b40a0472a557394245052cdbd20cb 100644 (file)
@@ -735,9 +735,9 @@ static int cipher_test_enc(EVP_TEST *t, int enc, size_t out_misalign,
     int ok = 0, tmplen, chunklen, tmpflen, i;
     EVP_CIPHER_CTX *ctx_base = NULL;
     EVP_CIPHER_CTX *ctx = NULL, *duped;
-    int fips_dupctx_supported = (fips_provider_version_ge(libctx, 3, 0, 11)
-                                && fips_provider_version_lt(libctx, 3, 1, 0))
-                                || fips_provider_version_ge(libctx, 3, 1, 3);
+    int fips_dupctx_supported = (fips_provider_version_ge(libctx, 3, 0, 12)
+                                 && fips_provider_version_lt(libctx, 3, 1, 0))
+                                || fips_provider_version_ge(libctx, 3, 1, 4);
 
     t->err = "TEST_FAILURE";
     if (!TEST_ptr(ctx_base = EVP_CIPHER_CTX_new()))