Commit 3fd60dc4 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Always try to set ASN.1 parameters for CMS.



Try to set the ASN.1 parameters for CMS encryption even if the IV
length is zero as the underlying cipher should still set the type.

This will correctly result in errors if an attempt is made to use
an unsupported cipher type.

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent 50b4a9ba
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment