multifile, textmode and sign buglet

Marcus Brinkmann Marcus.Brinkmann at
Thu Feb 13 00:49:01 CET 2003


in g10/sign.c:sign_file(), INP is only opened early on if only a single file
is signed, but a text_filter is pushed unconditionally on it.

    if( opt.textmode && !outfile)
        iobuf_push_filter( inp, text_filter, &tfx );

I am a bit unsure what the right fix is.  The check necessary would be of
course && !multifile, but I don't know if !outfile is correct or should be
replaced (outfile seems to be to control the output, I don't see the
connection to inp, but I might miss something).


`Rhubarb is no Egyptian god.' GNU    marcus at
Marcus Brinkmann              The Hurd
Marcus.Brinkmann at

More information about the Gnupg-devel mailing list