mirror of https://github.com/openssl/openssl.git
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 ffed597882
("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)
This commit is contained in:
parent
5df160f116
commit
5b4f4474b2
|
@ -1193,7 +1193,7 @@ subtest "encrypt to three recipients with RSA-OAEP, key only decrypt" => sub {
|
||||||
|
|
||||||
ok(run(app(['openssl', 'cms',
|
ok(run(app(['openssl', 'cms',
|
||||||
@defaultprov,
|
@defaultprov,
|
||||||
'-encrypt',
|
'-encrypt', '-aes128',
|
||||||
'-in', $pt,
|
'-in', $pt,
|
||||||
'-out', $ct,
|
'-out', $ct,
|
||||||
'-stream',
|
'-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)");
|
"encrypt to three recipients with RSA-OAEP (avoid openssl/project issue#380)");
|
||||||
ok(run(app(['openssl', 'cms',
|
ok(run(app(['openssl', 'cms',
|
||||||
@defaultprov,
|
@defaultprov,
|
||||||
'-decrypt',
|
'-decrypt', '-aes128',
|
||||||
'-in', $ct,
|
'-in', $ct,
|
||||||
'-out', $ptpt,
|
'-out', $ptpt,
|
||||||
'-inkey', catfile($smdir, "smrsa3-key.pem"),
|
'-inkey', catfile($smdir, "smrsa3-key.pem"),
|
||||||
|
|
Loading…
Reference in New Issue