From bbc098ffb3c0b09e0bbeca787e20efddc3242ec1 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Fri, 2 Aug 2013 15:57:54 +0100 Subject: [PATCH] Add X9.42 DH test. --- test/cms-test.pl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/cms-test.pl b/test/cms-test.pl index fa4394cff9..287f4db34c 100644 --- a/test/cms-test.pl +++ b/test/cms-test.pl @@ -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" ] ); -- 2.40.0