aboutsummaryrefslogtreecommitdiffstats
path: root/g10/mainproc.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/mainproc.c')
-rw-r--r--g10/mainproc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/g10/mainproc.c b/g10/mainproc.c
index ca8b4466a..62b530b38 100644
--- a/g10/mainproc.c
+++ b/g10/mainproc.c
@@ -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 );