From 37fb58899039ce6c07953442d461e9e80553e2a3 Mon Sep 17 00:00:00 2001 From: Antonio Radici Date: Thu, 10 Sep 2009 23:44:05 +0100 Subject: [PATCH] upstream/533370-pgp-inline.patch: inline pgp messages now displayed correctly even if pgp_auto_decode is set (Closes: 533370) --- debian/changelog | 2 ++ .../patches/upstream/533370-pgp-inline.patch | 23 +++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 debian/patches/upstream/533370-pgp-inline.patch diff --git a/debian/changelog b/debian/changelog index 83adfd9..722580a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -15,6 +15,8 @@ mutt (1.5.20-3) UNRELEASED; urgency=low headers (Closes: 474194) + upstream/542910-search-segfault.patch: fixes a bug in search which caused a segfault (Closes: 542910) + + upstream/533370-pgp-inline.patch: inline pgp messages now displayed + correctly even if pgp_auto_decode is set (Closes: 533370) * debian/control: + Standards-Version bumped to 3.8.3 * debian/extra/lib/mailto-mutt: patch from madduck@ to correctly handle the diff --git a/debian/patches/upstream/533370-pgp-inline.patch b/debian/patches/upstream/533370-pgp-inline.patch new file mode 100644 index 0000000..a928e7a --- /dev/null +++ b/debian/patches/upstream/533370-pgp-inline.patch @@ -0,0 +1,23 @@ +inline pgp messages were displayed incorrectly when pgp_auto_decode=yes, see +upstream http://bugs.mutt.org/3269 + +--- a/crypt-gpgme.c ++++ b/crypt-gpgme.c +@@ -2371,16 +2371,14 @@ + safe_fclose (&pgpout); + } + } +-#if 0 + else + { +- /* why would we want to display this at all? */ ++ /* A traditional PGP part may mix signed and unsigned content */ + /* XXX - we may wish to recode here */ + if (s->prefix) + state_puts (s->prefix, s); + state_puts (buf, s); + } +-#endif + } + + m->goodsig = (maybe_goodsig && have_any_sigs); -- 2.43.0