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 b0e7b7f..2f91739 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"