multifile, textmode and sign buglet
    Marcus Brinkmann 
    Marcus.Brinkmann at ruhr-uni-bochum.de
       
    Thu Feb 13 00:49:01 CET 2003
    
    
  
Hi,
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).
Thanks,
Marcus
-- 
`Rhubarb is no Egyptian god.' GNU      http://www.gnu.org    marcus at gnu.org
Marcus Brinkmann              The Hurd http://www.gnu.org/software/hurd/
Marcus.Brinkmann at ruhr-uni-bochum.de
http://www.marcus-brinkmann.de/
    
    
More information about the Gnupg-devel
mailing list