diff --git a/g10/mainproc.c b/g10/mainproc.c index 5b6d8db04..1e140edf4 100644 --- a/g10/mainproc.c +++ b/g10/mainproc.c @@ -778,10 +778,7 @@ proc_compressed( CTX c, PACKET *pkt ) PKT_compressed *zd = pkt->pkt.compressed; 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, zd, proc_compressed_cb, c ); else if( c->encrypt_only ) rc = handle_compressed( c, zd, proc_encrypt_cb, c );