summaryrefslogtreecommitdiffstats
path: root/g10/revoke.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>2017-08-01 19:08:16 +0200
committerMarcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>2017-08-01 19:08:16 +0200
commit624cd2d0bf6cc6dd1b79654295dc76f5b2d6d70b (patch)
tree83518734e83fca311035d07bcf9c084d5f734706 /g10/revoke.c
parentg10: Always save standard revocation certificate in file. (diff)
downloadgnupg2-624cd2d0bf6cc6dd1b79654295dc76f5b2d6d70b.tar.xz
gnupg2-624cd2d0bf6cc6dd1b79654295dc76f5b2d6d70b.zip
Revert "g10: Always save standard revocation certificate in file."
This reverts commit ebc65ff459e6c228fb7406e375819a9fe5637abe.
Diffstat (limited to 'g10/revoke.c')
-rw-r--r--g10/revoke.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/revoke.c b/g10/revoke.c
index db3c49562..1dea6ae12 100644
--- a/g10/revoke.c
+++ b/g10/revoke.c
@@ -334,7 +334,7 @@ gen_desig_revoke (ctrl_t ctrl, const char *uname, strlist_t locusr)
if( !opt.armor )
tty_printf(_("ASCII armored output forced.\n"));
- if( (rc = open_outfile (-1, NULL, 0, 1, &out, 0 )) )
+ if( (rc = open_outfile (-1, NULL, 0, 1, &out )) )
goto leave;
afx->what = 1;
@@ -461,7 +461,7 @@ create_revocation (ctrl_t ctrl,
afx = new_armor_context ();
- if ((rc = open_outfile (-1, filename, suffix, 1, &out, !!filename)))
+ if ((rc = open_outfile (-1, filename, suffix, 1, &out)))
goto leave;
if (leadintext )