aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/gnus/ChangeLog5
-rw-r--r--lisp/gnus/mml2015.el4
2 files changed, 9 insertions, 0 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 80eaf708bc9..6ec0cf56cc0 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,8 @@
12013-05-22 Daiki Ueno <ueno@gnu.org>
2
3 * mml2015.el (mml2015-epg-sign): Make sure to insert newline after the
4 signed data to conform the standard. (Bug#14232)
5
12013-05-20 Adam Sjøgren <asjo@koldfront.dk> 62013-05-20 Adam Sjøgren <asjo@koldfront.dk>
2 7
3 * gnus-spec.el (gnus-parse-complex-format): Use unicode escape for left 8 * gnus-spec.el (gnus-parse-complex-format): Use unicode escape for left
diff --git a/lisp/gnus/mml2015.el b/lisp/gnus/mml2015.el
index c3905b88e7b..5d122dfbe40 100644
--- a/lisp/gnus/mml2015.el
+++ b/lisp/gnus/mml2015.el
@@ -1085,6 +1085,10 @@ If no one is selected, default secret key is used. "
1085 (epg-context-set-passphrase-callback 1085 (epg-context-set-passphrase-callback
1086 context 1086 context
1087 #'mml2015-epg-passphrase-callback)) 1087 #'mml2015-epg-passphrase-callback))
1088 ;; Signed data must end with a newline (RFC 3156, 5).
1089 (goto-char (point-max))
1090 (unless (bolp)
1091 (insert "\n"))
1088 (condition-case error 1092 (condition-case error
1089 (setq signature (epg-sign-string context (buffer-string) t) 1093 (setq signature (epg-sign-string context (buffer-string) t)
1090 mml2015-epg-secret-key-id-list nil) 1094 mml2015-epg-secret-key-id-list nil)