aboutsummaryrefslogtreecommitdiffstats
path: root/g10/dearmor.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/dearmor.c')
-rw-r--r--g10/dearmor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/dearmor.c b/g10/dearmor.c
index 92239ccfd..d364678c7 100644
--- a/g10/dearmor.c
+++ b/g10/dearmor.c
@@ -45,6 +45,7 @@ dearmor_file( const char *fname )
int c;
afx = new_armor_context ();
+ afx->dearmor_mode = 1;
/* prepare iobufs */
inp = iobuf_open(fname);