Fix no-des failure in test_cms
[openssl.git] / test / recipes / 80-test_cms.t
index 3af1a0ce55ef8f5335acfaad1660105b22364103..6a9792128be15fea9c483916ff87c0a3ed80a9bb 100644 (file)
@@ -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"),