Add X9.42 DH test.

(cherry picked from commit bbc098ffb3)
This commit is contained in:
Dr. Stephen Henson 2013-08-02 15:57:54 +01:00
parent d037e0d30c
commit 6ed3af7d50

View 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"
]
);