aboutsummaryrefslogtreecommitdiffstats
path: root/g10/export.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/export.c')
-rw-r--r--g10/export.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/export.c b/g10/export.c
index 5783f6ac1..1545fafcd 100644
--- a/g10/export.c
+++ b/g10/export.c
@@ -114,9 +114,9 @@ do_export( STRLIST users, int secret, unsigned int options )
iobuf_push_filter( out, armor_filter, &afx );
}
if( opt.compress_keys && opt.compress )
- iobuf_push_filter( out, compress_filter, &zfx );
- rc = do_export_stream( out, users, secret, NULL, options, &any );
+ push_compress_filter(out,&zfx,opt.def_compress_algo);
+ rc = do_export_stream( out, users, secret, NULL, options, &any );
if( rc || !any )
iobuf_cancel(out);
else