mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
Allow compress algorithm 0.
* g10/mainproc.c (proc_compressed): Remove superfluous check for compress algorithm 0. Reported by pfandrade. This is bug#1326.
This commit is contained in:
parent
c4b9a9b9f3
commit
7ddbcb6b6a
@ -782,9 +782,7 @@ proc_compressed( CTX c, PACKET *pkt )
|
||||
int rc;
|
||||
|
||||
/*printf("zip: compressed data packet\n");*/
|
||||
if( !zd->algorithm )
|
||||
rc=G10ERR_COMPR_ALGO;
|
||||
else if( c->sigs_only )
|
||||
if (c->sigs_only)
|
||||
rc = handle_compressed (c->ctrl, c, zd, proc_compressed_cb, c );
|
||||
else if( c->encrypt_only )
|
||||
rc = handle_compressed (c->ctrl, c, zd, proc_encrypt_cb, c );
|
||||
|
Loading…
x
Reference in New Issue
Block a user