diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2013-08-02 15:57:54 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2013-10-01 14:01:18 +0100 |
commit | 6ed3af7d507a48bf6153df5e8bc9d4c92ea84841 (patch) | |
tree | 4210d41eb4433d9bf25bcfe8183184d16556e050 /test/cms-test.pl | |
parent | d037e0d30c4ff40dbe91a2ac5d72f0885c6a0eb9 (diff) |
Add X9.42 DH test.
(cherry picked from commit bbc098ffb3c0b09e0bbeca787e20efddc3242ec1)
Diffstat (limited to 'test/cms-test.pl')
-rw-r--r-- | test/cms-test.pl | 8 |
1 files changed, 8 insertions, 0 deletions
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" ] ); |