aboutsummaryrefslogtreecommitdiffstats
path: root/g10/export.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g10/export.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/export.c b/g10/export.c
index 87708f08d..c70af6cc8 100644
--- a/g10/export.c
+++ b/g10/export.c
@@ -67,7 +67,7 @@ export_pubkeys( STRLIST users )
afx.what = 1;
iobuf_push_filter( out, armor_filter, &afx );
}
- if( opt.compress )
+ if( opt.compress_keys && opt.compress )
iobuf_push_filter( out, compress_filter, &zfx );
if( all ) {