From: Dr. Stephen Henson Date: Fri, 2 Aug 2013 14:57:54 +0000 (+0100) Subject: Add X9.42 DH test. X-Git-Tag: master-post-reformat~1224 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=bbc098ffb3c0b09e0bbeca787e20efddc3242ec1;hp=75787fd833a11798e09b027991aabc5b7dafa335 Add X9.42 DH test. --- 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" ] );