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

* g10u.c: Dead code. Remove.

* Makefile.am: Don't compile g10u.c.

* iobuf.c (block_filter): Properly handle a partial body stream that ends
with a 5-byte length.
This commit is contained in:
David Shaw 2003-12-30 00:50:32 +00:00
parent d537d547ce
commit 330f042fa4
4 changed files with 11 additions and 41 deletions

View file

@ -665,6 +665,7 @@ block_filter(void *opaque, int control, IOBUF chain, byte *buf, size_t *ret_len)
break;
}
a->size |= c;
a->partial = 2;
}
else { /* next partial body length */
a->size = 1 << (c & 0x1f);