aboutsummaryrefslogtreecommitdiffstats
path: root/g10/armor.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/armor.c')
-rw-r--r--g10/armor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/armor.c b/g10/armor.c
index 38c48fbbe..d0cbfd067 100644
--- a/g10/armor.c
+++ b/g10/armor.c
@@ -999,6 +999,7 @@ armor_filter( void *opaque, int control,
}
else if( !afx->any_data && !afx->inp_bypass ) {
log_error(_("no valid OpenPGP data found.\n"));
+ afx->no_openpgp_data = 1;
write_status_text( STATUS_NODATA, "1" );
}
if( afx->truncated )