aboutsummaryrefslogtreecommitdiffstats
path: root/g10/packet.h
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2007-05-03 04:44:12 +0000
committerDavid Shaw <[email protected]>2007-05-03 04:44:12 +0000
commit3bcccb16667def6167cd29a41b62d087b272568b (patch)
tree3f08fb97dedb6f54d33bf3b91dbbc0b21b9159a6 /g10/packet.h
parent* conventional.test, encrypt.test, encrypt-dsa.test, (diff)
downloadgnupg-3bcccb16667def6167cd29a41b62d087b272568b.tar.gz
gnupg-3bcccb16667def6167cd29a41b62d087b272568b.zip
* 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).
Diffstat (limited to '')
-rw-r--r--g10/packet.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/g10/packet.h b/g10/packet.h
index 9a38d76bd..d40c16031 100644
--- a/g10/packet.h
+++ b/g10/packet.h
@@ -1,6 +1,6 @@
/* packet.h - OpenPGP packet definitions
- * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
- * 2006 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.
*
@@ -368,6 +368,7 @@ struct notation
};
/*-- mainproc.c --*/
+void reset_literals_seen(void);
int proc_packets( void *ctx, iobuf_t a );
int proc_signature_packets( void *ctx, iobuf_t a,
strlist_t signedfiles, const char *sigfile );