diff options
author | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2023-12-18 21:38:22 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2023-12-19 13:18:36 +0100 |
commit | 5b4f4474b2562c4422193e1719461a0ef5cbc3e5 (patch) | |
tree | 52efb7dcbcc41a318623d6ed98d3b60dd6f75220 | |
parent | test_export_key_mat(): Long context support works with new fips provider only (diff) | |
download | openssl-5b4f4474b2562c4422193e1719461a0ef5cbc3e5.tar.xz openssl-5b4f4474b2562c4422193e1719461a0ef5cbc3e5.zip |
Fix no-des failure in test_cms
The newly introduced test case do not work
when configured with no-des, fix that by
choosing -aes128 as cipher.
Fixes ffed597882ba ("cms: avoid intermittent test failure")
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23086)
-rw-r--r-- | test/recipes/80-test_cms.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/recipes/80-test_cms.t b/test/recipes/80-test_cms.t index 3af1a0ce55..6a9792128b 100644 --- a/test/recipes/80-test_cms.t +++ b/test/recipes/80-test_cms.t @@ -1193,7 +1193,7 @@ subtest "encrypt to three recipients with RSA-OAEP, key only decrypt" => sub { ok(run(app(['openssl', 'cms', @defaultprov, - '-encrypt', + '-encrypt', '-aes128', '-in', $pt, '-out', $ct, '-stream', @@ -1207,7 +1207,7 @@ subtest "encrypt to three recipients with RSA-OAEP, key only decrypt" => sub { "encrypt to three recipients with RSA-OAEP (avoid openssl/project issue#380)"); ok(run(app(['openssl', 'cms', @defaultprov, - '-decrypt', + '-decrypt', '-aes128', '-in', $ct, '-out', $ptpt, '-inkey', catfile($smdir, "smrsa3-key.pem"), |