From 6ed3af7d507a48bf6153df5e8bc9d4c92ea84841 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. (cherry picked from commit bbc098ffb3c0b09e0bbeca787e20efddc3242ec1) --- 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.25.1