Add enveloped data keyid test.
authorDr. Stephen Henson <steve@openssl.org>
Tue, 18 Mar 2008 18:29:54 +0000 (18:29 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 18 Mar 2008 18:29:54 +0000 (18:29 +0000)
test/cms-test.pl

index b0e7b7f030d3c5ec23920db9a75b6162a67eda69..2f91739b05f541129609f71786b9e5ca9e6308ec 100644 (file)
@@ -227,6 +227,14 @@ my @smime_cms_tests = (
           . " -CAfile $smdir/smroot.pem -out smtst.txt"
     ],
 
+    [
+        "enveloped content test streaming S/MIME format, 3 recipients, keyid",
+        "-encrypt -in smcont.txt"
+          . " -stream -out test.cms -keyid"
+          . " $smdir/smrsa1.pem $smdir/smrsa2.pem $smdir/smrsa3.pem ",
+        "-decrypt -recip $smdir/smrsa1.pem -in test.cms -out smtst.txt"
+    ],
+
     [
         "data content test streaming PEM format",
         "-data_create -in smcont.txt -outform PEM -nodetach"