Re: blank reply and pgp
On Sat 08 Nov 2003 at 11:48pm +0000, Patrick Welche wrote:
> .. but that was back in March, and I used CVS of just a few days ago,
> so it doesn't look as though it is fixed. When I looked at it I got
> lost in all the callback hooks..
Below is the email containing the patch that seemed to fix my problem
back in May. I don't know what happened after that, since I enabled pgp
on subsequent compiles.
-John
On Fri 30 May 2003 at 04:43am -0500, Christian Dysthe wrote:
> Hi,
>
> looks like a patch will take care of our problem! See below.
>
> ----- Forwarded message from Thomas Roessler <roessler@xxxxxxxxxxxxxxxxxx>
> -----
>
> From: Thomas Roessler <roessler@xxxxxxxxxxxxxxxxxx>
> Subject: Re: Strange reply and forward behavior in 1.5.4i
> To: Christian Dysthe <christian@xxxxxxxxxx>
> Date: Thu, 29 May 2003 14:09:15 +0200
> User-Agent: Mutt/1.5.4i
>
> On 2003-05-27 21:55:52 -0500, Christian Dysthe wrote:
>
> > This is getting weirder and weirder. I have located the source of
> > the problem: I configure mutt 1.5.4 with --disable-pgp and that
> > is what causing me not being able to reply to 95% of my mails
> > quoted and with signature!
>
> I think that this patch should fix the problem...
>
>
> % diff -u send.c.orig send.c
> --- send.c.orig 2003-05-29 13:56:11.000000000 +0200
> +++ send.c 2003-05-29 13:57:08.000000000 +0200
> @@ -1301,7 +1301,7 @@
> && !(flags & (SENDRESEND|SENDPOSTPONED)))
> msg->env->from->personal = safe_strdup (Realname);
>
> - if ((WithCrypto & APPLICATION_PGP) && !(flags & SENDKEY))
> + if (!((WithCrypto & APPLICATION_PGP) && (flags & SENDKEY)))
> safe_fclose (&tempfp);
>
> if (flags & SENDMAILX)