aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-crypto.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-01-22 13:09:11 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-01-22 13:09:11 +0800
commit891364e803b81f24fb5b914aa88bbebf75202c39 (patch)
tree94adade5d7ef8f377b68276058c31521187a3ffd /mail/mail-crypto.c
parent6fca99511ab7b1a076c3d1d311ee3f10dcff1abd (diff)
downloadgsoc2013-evolution-891364e803b81f24fb5b914aa88bbebf75202c39.tar
gsoc2013-evolution-891364e803b81f24fb5b914aa88bbebf75202c39.tar.gz
gsoc2013-evolution-891364e803b81f24fb5b914aa88bbebf75202c39.tar.bz2
gsoc2013-evolution-891364e803b81f24fb5b914aa88bbebf75202c39.tar.lz
gsoc2013-evolution-891364e803b81f24fb5b914aa88bbebf75202c39.tar.xz
gsoc2013-evolution-891364e803b81f24fb5b914aa88bbebf75202c39.tar.zst
gsoc2013-evolution-891364e803b81f24fb5b914aa88bbebf75202c39.zip
Helps if I spell stuff correctly so it can pass the tests ;-)
2001-01-22 Jeffrey Stedfast <fejj@ximian.com> * 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
Diffstat (limited to 'mail/mail-crypto.c')
-rw-r--r--mail/mail-crypto.c4
1 files changed, 2 insertions, 2 deletions
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 */