Package: emacs22-common
Version: 22.3+1-1
Severity: normal
Tags: patch

Hi,

the `mml-secure-message-sign' function only signs the current part, as
does the `mml-secure-sign' function.  It is supposed to sign the entire
message instead (see the other `mml-secure-message-*' functions).

Please consider applying the attached patch.

Regards,
Ansgar

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages emacs22-common depends on:
ii  dpkg                          1.14.26    Debian package management system
ii  emacsen-common                1.4.17     Common facilities for all emacsen

emacs22-common recommends no packages.

Versions of packages emacs22-common suggests:
ii  emacs22-common-non-dfsg       22.3+1-1   GNU Emacs shared, architecture ind
ii  emacs22-el                    22.3+1-1   GNU Emacs LISP (.el) files

-- no debconf information
>From 3c3d05460a87a95130f6de1995bc7b7e69ae4446 Mon Sep 17 00:00:00 2001
From: Ansgar Burchardt <[email protected]>
Date: Tue, 19 May 2009 21:16:41 +0200
Subject: [PATCH] mml-secure-message-sign: sign entire message

The function `mml-secure-message-sign' did only sign the current part
instead of the entire message.

Signed-off-by: Ansgar Burchardt <[email protected]>
---
 lisp/gnus/mml-sec.el |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/gnus/mml-sec.el b/lisp/gnus/mml-sec.el
index 7845cfd..a8ec9c7 100644
--- a/lisp/gnus/mml-sec.el
+++ b/lisp/gnus/mml-sec.el
@@ -274,11 +274,11 @@ Use METHOD if given.  Else use `mml-secure-method' or
 
 
 (defun mml-secure-message-sign (&optional method)
-  "Add MML tags to sign this MML part.
+  "Add MML tags to sign the entire message.
 Use METHOD if given. Else use `mml-secure-method' or
 `mml-default-sign-method'."
   (interactive)
-  (mml-secure-part
+  (mml-secure-message
    (or method mml-secure-method mml-default-sign-method)
    'sign))
 
-- 
1.6.2.4

Reply via email to