1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

* packet.h, mainproc.c (reset_literals_seen): New function to reset

the literals count.

* verify.c (verify_one_file), decrypt.c (decrypt_messages): Call it
here so we allow multiple literals in --multifile mode (in different
files - not concatenated together).
This commit is contained in:
David Shaw 2007-04-17 04:00:38 +00:00
parent 1fc3e4a299
commit 2e81dd1b98
5 changed files with 24 additions and 7 deletions

View file

@ -1,6 +1,6 @@
/* decrypt.c - verify signed data
* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
* 2004 Free Software Foundation, Inc.
* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
* 2007 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
@ -185,6 +185,7 @@ decrypt_messages(int nfiles, char *files[])
write_status( STATUS_FILE_DONE );
iobuf_ioctl( NULL, 2, 0, NULL); /* Invalidate entire cache. */
xfree(output);
reset_literals_seen();
}
set_next_passphrase(NULL);