From: Karl-Heinz Zimmer Date: Fri, 6 Sep 2002 11:52:05 +0000 (+0000) Subject: Bugfix: The value text of protocol parameter of OpenPGP's multipart/signed Content... X-Git-Tag: gpgme-0-3-11~6 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=da452438d9f84410f84cbb95147d0a6812c8aafc;p=gpgme.git Bugfix: The value text of protocol parameter of OpenPGP's multipart/signed Content-Type header must be enclosed in double quotes. Bugfix was provided by Marc Mutz solving problems with pine. --- diff --git a/gpgmeplug/gpgme-openpgp.c b/gpgmeplug/gpgme-openpgp.c index 69c617c..c8e0234 100644 --- a/gpgmeplug/gpgme-openpgp.c +++ b/gpgmeplug/gpgme-openpgp.c @@ -22,7 +22,7 @@ #define GPGMEPLUG_DET_SIGN_INCLUDE_CLEARTEXT true #define GPGMEPLUG_DET_SIGN_MAKE_MIME_OBJECT true #define GPGMEPLUG_DET_SIGN_MAKE_MULTI_MIME true -#define GPGMEPLUG_DET_SIGN_CTYPE_MAIN "multipart/signed;protocol=application/pgp-signature;micalg=pgp-sha1" +#define GPGMEPLUG_DET_SIGN_CTYPE_MAIN "multipart/signed; protocol=\"application/pgp-signature\"; micalg=pgp-sha1" #define GPGMEPLUG_DET_SIGN_CDISP_MAIN "" #define GPGMEPLUG_DET_SIGN_CTENC_MAIN "" #define GPGMEPLUG_DET_SIGN_CTYPE_VERSION ""