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-1.2.0@1385~816 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=39bf6acbcc5d779e3ddf22448e4becc982191dca;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/trunk/gpgmeplug/gpgme-openpgp.c b/trunk/gpgmeplug/gpgme-openpgp.c index 69c617c..c8e0234 100644 --- a/trunk/gpgmeplug/gpgme-openpgp.c +++ b/trunk/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 ""