Add X9.42 DH test.
authorDr. Stephen Henson <steve@openssl.org>
Fri, 2 Aug 2013 14:57:54 +0000 (15:57 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 5 Aug 2013 15:23:22 +0000 (16:23 +0100)
test/cms-test.pl

index fa4394cff9f0c35e25379892a8d3a11a1a668bf7..287f4db34c749a5686185b5209dfbdb8142fe451 100644 (file)
@@ -409,6 +409,14 @@ my @smime_cms_param_tests = (
           . " -recip $smdir/smec2.pem -aes128"
          . " -keyopt ecdh_kdf_md:sha256 -keyopt ecdh_cofactor_mode:1",
         "-decrypt -recip $smdir/smec2.pem -in test.cms -out smtst.txt"
+    ],
+
+    [
+"enveloped content test streaming S/MIME format, X9.42 DH",
+        "-encrypt -in smcont.txt"
+          . " -stream -out test.cms"
+          . " -recip $smdir/smdh.pem -aes128",
+        "-decrypt -recip $smdir/smdh.pem -in test.cms -out smtst.txt"
     ]
 );