aboutsummaryrefslogtreecommitdiffstats
path: root/g10/sign.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2017-08-01 17:08:16 +0000
committerMarcus Brinkmann <[email protected]>2017-08-01 17:08:16 +0000
commit624cd2d0bf6cc6dd1b79654295dc76f5b2d6d70b (patch)
tree83518734e83fca311035d07bcf9c084d5f734706 /g10/sign.c
parentg10: Always save standard revocation certificate in file. (diff)
downloadgnupg-624cd2d0bf6cc6dd1b79654295dc76f5b2d6d70b.tar.gz
gnupg-624cd2d0bf6cc6dd1b79654295dc76f5b2d6d70b.zip
Revert "g10: Always save standard revocation certificate in file."
This reverts commit ebc65ff459e6c228fb7406e375819a9fe5637abe.
Diffstat (limited to 'g10/sign.c')
-rw-r--r--g10/sign.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/g10/sign.c b/g10/sign.c
index 0e379bcc2..4cf0cd39a 100644
--- a/g10/sign.c
+++ b/g10/sign.c
@@ -889,7 +889,7 @@ sign_file (ctrl_t ctrl, strlist_t filenames, int detached, strlist_t locusr,
log_info(_("writing to '%s'\n"), outfile );
}
else if( (rc = open_outfile (-1, fname,
- opt.armor? 1: detached? 2:0, 0, &out, 0)))
+ opt.armor? 1: detached? 2:0, 0, &out)))
goto leave;
/* prepare to calculate the MD over the input */
@@ -1191,7 +1191,7 @@ clearsign_file (ctrl_t ctrl,
else if( opt.verbose )
log_info(_("writing to '%s'\n"), outfile );
}
- else if ((rc = open_outfile (-1, fname, 1, 0, &out, 0)))
+ else if ((rc = open_outfile (-1, fname, 1, 0, &out)))
goto leave;
iobuf_writestr(out, "-----BEGIN PGP SIGNED MESSAGE-----" LF );
@@ -1340,7 +1340,7 @@ sign_symencrypt_file (ctrl_t ctrl, const char *fname, strlist_t locusr)
cfx.dek->use_mdc = use_mdc (NULL, cfx.dek->algo);
/* now create the outfile */
- rc = open_outfile (-1, fname, opt.armor? 1:0, 0, &out, 0);
+ rc = open_outfile (-1, fname, opt.armor? 1:0, 0, &out);
if (rc)
goto leave;