diff options
author | Werner Koch <[email protected]> | 2009-06-17 11:18:26 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2009-06-17 11:18:26 +0000 |
commit | c998dd12a2dd0bd219ce0a68bdd9fcf82bb1c70e (patch) | |
tree | 11be2c0a6cb5cd0fee8ff31436d72f56074fda40 /g10/parse-packet.c | |
parent | Use cancel button in confirmation only if requested. (diff) | |
download | gnupg-c998dd12a2dd0bd219ce0a68bdd9fcf82bb1c70e.tar.gz gnupg-c998dd12a2dd0bd219ce0a68bdd9fcf82bb1c70e.zip |
Preparing for 2.0.12.gnupg-2.0.12
Diffstat (limited to 'g10/parse-packet.c')
-rw-r--r-- | g10/parse-packet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/parse-packet.c b/g10/parse-packet.c index 324ab5e2e..a86e54981 100644 --- a/g10/parse-packet.c +++ b/g10/parse-packet.c @@ -501,8 +501,8 @@ parse( IOBUF inp, PACKET *pkt, int onlykeypkts, off_t *retpos, } } - if (pktlen == 0xffffffff) { - /* with a some probability this is caused by a problem in the + if (pktlen == (unsigned long)(-1)) { + /* With some probability this is caused by a problem in the * the uncompressing layer - in some error cases it just loops * and spits out 0xff bytes. */ log_error ("%s: garbled packet detected\n", iobuf_where(inp) ); |