mirror of
https://github.com/QuasarApp/openssl.git
synced 2025-04-27 18:24:37 +00:00
Add test for ECDH CMS key only
Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4115)
This commit is contained in:
parent
3f1d1704f2
commit
5d09b003c0
@ -349,6 +349,15 @@ my @smime_cms_param_tests = (
|
||||
"-in", "test.cms", "-out", "smtst.txt" ]
|
||||
],
|
||||
|
||||
[ "enveloped content test streaming S/MIME format, DES, ECDH, 2 recipients, key only used",
|
||||
[ "-encrypt", "-in", $smcont,
|
||||
"-stream", "-out", "test.cms",
|
||||
catfile($smdir, "smec1.pem"),
|
||||
catfile($smdir, "smec2.pem") ],
|
||||
[ "-decrypt", "-inkey", catfile($smdir, "smec2.pem"),
|
||||
"-in", "test.cms", "-out", "smtst.txt" ]
|
||||
],
|
||||
|
||||
[ "enveloped content test streaming S/MIME format, ECDH, DES, key identifier",
|
||||
[ "-encrypt", "-keyid", "-in", $smcont,
|
||||
"-stream", "-out", "test.cms",
|
||||
|
Loading…
x
Reference in New Issue
Block a user