]> code.delx.au - gnu-emacs/commitdiff
Do secure signed Bcc handling
authorJens Lechtenboerger <jens.lechtenboerger@fsfe.org>
Mon, 4 Jan 2016 00:56:11 +0000 (01:56 +0100)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Mon, 4 Jan 2016 00:57:04 +0000 (01:57 +0100)
* lisp/gnus/message.el (message-send): Do secure signed Bcc handling
(bug#18718).

lisp/gnus/message.el

index 7be2ff900d4e11d0ea30f57b1f71d72e71e4f8c4..51dcc1a909fbb0bde63feb6afcdfee1fe5e58343 100644 (file)
@@ -4227,6 +4227,8 @@ Instead, just auto-save the buffer and then bury it."
   (if message-return-action
       (apply (car message-return-action) (cdr message-return-action))))
 
+(autoload 'mml-secure-bcc-is-safe "mml-sec")
+
 (defun message-send (&optional arg)
   "Send the message in the current buffer.
 If `message-interactive' is non-nil, wait for success indication or
@@ -4241,6 +4243,7 @@ It should typically alter the sending method in some way or other."
   (let ((inhibit-read-only t))
     (put-text-property (point-min) (point-max) 'read-only nil))
   (message-fix-before-sending)
+  (mml-secure-bcc-is-safe)
   (run-hooks 'message-send-hook)
   (when message-confirm-send
     (or (y-or-n-p "Send message? ")