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:12:29 +0000 (21:12 +0100)
commit708cf5ded249f871fcd5e3de27d9281b1f37ae71
tree622a5195bde5f7f1c069a48c212f5de329ab4e86
parentec5b56f3c5c47346c7740e5640d5f66ee2394267
Only set CMS parameter when encrypting

Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/cms/cms_enc.c