Only set CMS parameter when encrypting
authorDr. Stephen Henson <steve@openssl.org>
Fri, 6 May 2016 18:27:49 +0000 (19:27 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 6 May 2016 20:13:56 +0000 (21:13 +0100)
commit6e216ba689c38cf8183dbe09d00af644b3d7bc10
treef5775802460476fc51b493c329d91be520768edc
parent0c4465ede7847227e2958e8a3fbcc0bc98af0e06
Only set CMS parameter when encrypting

Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit 708cf5ded249f871fcd5e3de27d9281b1f37ae71)
crypto/cms/cms_enc.c