Skip to content

Commit

Permalink
Postponed further context duplication support for ciphers
Browse files Browse the repository at this point in the history
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from openssl#22094)
  • Loading branch information
t8m authored and paulidale committed Sep 19, 2023
1 parent 2743594 commit 19937db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/evp_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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()))
Expand Down

0 comments on commit 19937db

Please sign in to comment.