projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc5de8c
)
Revert "Add a 'signature.asc' filename for PGP MIME signatures."
author
Andrej Kacian
<ticho@claws-mail.org>
Mon, 3 Jul 2017 13:50:47 +0000
(15:50 +0200)
committer
Andrej Kacian
<ticho@claws-mail.org>
Mon, 3 Jul 2017 13:50:47 +0000
(15:50 +0200)
This reverts commit
bd6cfc227c3386329ce7baef2aac10788e47c445
.
The change causes more problems than it solves, seeing as
it triggers alarms for a lot of antivirus/antispam software.
src/plugins/pgpmime/pgpmime.c
patch
|
blob
|
history
diff --git
a/src/plugins/pgpmime/pgpmime.c
b/src/plugins/pgpmime/pgpmime.c
index f9b459d5c8328732d188f7ac57f30d0707134062..e14ebe0405473e34b9e6d6e89480c7d2a3732157 100644
(file)
--- a/
src/plugins/pgpmime/pgpmime.c
+++ b/
src/plugins/pgpmime/pgpmime.c
@@
-599,10
+599,6
@@
gboolean pgpmime_sign(MimeInfo *mimeinfo, PrefsAccount *account, const gchar *fr
newinfo->data.mem = g_malloc(len + 1);
g_memmove(newinfo->data.mem, sigcontent, len);
newinfo->data.mem[len] = '\0';
- newinfo->disposition = DISPOSITIONTYPE_INLINE;
- g_hash_table_insert(newinfo->dispositionparameters,
- g_strdup("filename"), g_strdup("signature.asc"));
-
g_node_append(sigmultipart->node, newinfo->node);
g_free(sigcontent);