From: Dr. Stephen Henson Date: Tue, 18 Mar 2008 18:29:54 +0000 (+0000) Subject: Add enveloped data keyid test. X-Git-Tag: OpenSSL_0_9_8k^2~508 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=52e9196d7eddadcd70823da61b6d5dbbdab35ff7;p=thirdparty%2Fopenssl.git Add enveloped data keyid test. --- diff --git a/test/cms-test.pl b/test/cms-test.pl index b0e7b7f030d..2f91739b05f 100644 --- a/test/cms-test.pl +++ b/test/cms-test.pl @@ -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"