Diffusion GPGME e9ca36f876e1

core: Make gpgme_op_encrypt_ext work for CMS.

Authored by werner on Jun 3 2019, 6:26 PM.

Description

core: Make gpgme_op_encrypt_ext work for CMS.

* src/engine-gpgsm.c (gpgsm_encrypt): Fix argument check.

It is pretty obvious thar the string based new encrypt function has
never been tested for S/MIME. The fix was easy. A followup patch
will extend it to allow for keywords in the future.

Details