Fix libctx passing for CMS PWRI use
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/26937)
This commit is contained in:
parent
7e431da4d8
commit
5045712d3d
3 changed files with 18 additions and 5 deletions
|
@ -354,6 +354,16 @@ my @smime_cms_tests = (
|
|||
\&final_compare
|
||||
],
|
||||
|
||||
[ "enveloped content test streaming PEM format, AES-128-CBC cipher, password",
|
||||
[ "{cmd1}", @prov, "-encrypt", "-in", $smcont, "-outform", "PEM", "-aes128",
|
||||
"-stream", "-out", "{output}.cms",
|
||||
"-pwri_password", "test" ],
|
||||
[ "{cmd2}", @prov, "-decrypt", "-in", "{output}.cms", "-out", "{output}.txt",
|
||||
"-inform", "PEM",
|
||||
"-pwri_password", "test" ],
|
||||
\&final_compare
|
||||
],
|
||||
|
||||
[ "data content test streaming PEM format",
|
||||
[ "{cmd1}", @prov, "-data_create", "-in", $smcont, "-outform", "PEM",
|
||||
"-nodetach", "-stream", "-out", "{output}.cms" ],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue