From 891364e803b81f24fb5b914aa88bbebf75202c39 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 22 Jan 2001 05:09:11 +0000 Subject: Helps if I spell stuff correctly so it can pass the tests ;-) 2001-01-22 Jeffrey Stedfast * mail-crypto.c (mail_crypto_is_rfc2015_signed): Helps if I spell stuff correctly so it can pass the tests ;-) svn path=/trunk/; revision=7697 --- mail/mail-crypto.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mail/mail-crypto.c') diff --git a/mail/mail-crypto.c b/mail/mail-crypto.c index 7f1a34c54b..ae4ce6c803 100644 --- a/mail/mail-crypto.c +++ b/mail/mail-crypto.c @@ -66,7 +66,7 @@ mail_crypto_is_rfc2015_signed (CamelMimePart *mime_part) /* check that we have a protocol param with the value: "application/pgp-signed" */ param = header_content_type_param (type, "protocol"); - if (!param || g_strcasecmp (param, "application/pgp-signed")) + if (!param || g_strcasecmp (param, "application/pgp-signature")) return FALSE; /* check that we have exactly 2 subparts */ @@ -86,7 +86,7 @@ mail_crypto_is_rfc2015_signed (CamelMimePart *mime_part) /* The second part should be application/pgp-signature. */ part = camel_multipart_get_part (mp, 1); type = camel_mime_part_get_content_type (part); - if (!header_content_type_is (type, "application", "pgp-siganture")) + if (!header_content_type_is (type, "application", "pgp-signature")) return FALSE; /* FIXME: Implement multisig stuff */ -- cgit v1.2.3