aboutsummaryrefslogtreecommitdiffstats
path: root/g10/parse-packet.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1998-10-01 07:23:00 +0000
committerWerner Koch <[email protected]>1998-10-01 07:23:00 +0000
commit6f73ec963a6d01e16599a62661dd2a74303ed65c (patch)
treec60f67d0da185df63ac2a60a156e60eebe94b82b /g10/parse-packet.c
parent*** empty log message *** (diff)
downloadgnupg-6f73ec963a6d01e16599a62661dd2a74303ed65c.tar.gz
gnupg-6f73ec963a6d01e16599a62661dd2a74303ed65c.zip
*** empty log message ***
Diffstat (limited to 'g10/parse-packet.c')
-rw-r--r--g10/parse-packet.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/g10/parse-packet.c b/g10/parse-packet.c
index 1cd14acfb..41afe5b9a 100644
--- a/g10/parse-packet.c
+++ b/g10/parse-packet.c
@@ -811,6 +811,11 @@ parse_signature( IOBUF inp, int pkttype, unsigned long pktlen,
if( is_v4 ) { /*extract required information */
const byte *p;
+
+ /* FIXME: set sig->flags.unknown_critical is there is a
+ * critical bit set for packets which are not understood
+ * It does only make sense for hashed data.
+ */
p = parse_sig_subpkt( sig->hashed_data, SIGSUBPKT_SIG_CREATED, NULL );
if( !p )
log_error("signature packet without timestamp\n");