content-type: application/pgp
Joshua Crawford <[email protected]>
| Newsgroups | gmane.network.tin.devel,gmane.network.tin.user |
|---|---|
| Message-ID | <[email protected]> |
Attached is a little patch to handle articles with content-type: application/pgp as though they are text/plain, which they are, being clearsigned. -- Joshua 'bruce' Crawford ... http://www.geocities.com/mortarn A: Top posters Q: What's the most annoying thing about email these days?
PATCH_tin-1.7.2-application_pgp-1
(text/plain, 553 B)
--- include/tin.h.orig 2003-10-27 22:46:12.000000000 +1100
+++ include/tin.h 2003-11-11 20:12:55.000000000 +1100
@@ -1017,9 +1017,11 @@ enum {
/*
* Is this part text/plain ?
+ * application/pgp is clearsigned
*/
#define IS_PLAINTEXT(x) \
- (x->type == TYPE_TEXT && strcasecmp("plain", x->subtype) == 0)
+ ((x->type == TYPE_TEXT && strcasecmp("plain", x->subtype) == 0) || \
+ (x->type == TYPE_APPLICATION && strcasecmp("pgp", x->subtype) == 0))
/* TRUE if basenote has responses */
#define HAS_FOLLOWUPS(i) (arts[base[i]].thread >= 0)
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/sLusfNeFlNwRVjIRAkWlAKC9OuAA/yfoXIzi+7SZT5Br7XXKAwCdFIrI YziXozWMcjSC5Cw64fpW4iM= =ZBAi -----END PGP SIGNATURE-----