1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

1.0.4c snapshot

This commit is contained in:
Werner Koch 2000-12-19 12:38:53 +00:00
parent 1098c89a7d
commit 04beb81571
27 changed files with 2142 additions and 1822 deletions

View file

@ -1734,6 +1734,7 @@ parse_encrypted( IOBUF inp, int pkttype, unsigned long pktlen,
/* fixme: add some pktlen sanity checks */
int version;
#warning decrementing pktlen here is bad as it gives a bad valie in the listing
version = iobuf_get_noeof(inp); pktlen--;
if( version != 1 ) {
log_error("encrypted_mdc packet with unknown version %d\n",