From ebc65ff459e6c228fb7406e375819a9fe5637abe Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Tue, 1 Aug 2017 17:41:03 +0200 Subject: g10: Always save standard revocation certificate in file. * g10/main.h (open_outfile): New parameter NO_OUTFILE. * g10/openfile.c (open_outfile): New parameter NO_OUTFILE. If given, never use opt.outfile. * g10/revoke.c (create_revocation): If FILENAME is true, also set NO_OUTFILE to true (for standard revocation certificates). * g10/dearmor.c, g10/encrypt.c, g10/export.c, g10/revoke.c, g10/sign.c: Adjust all other callers. Signed-off-by: Marcus Brinkmann GnuPG-bug-id: 3015 --- g10/export.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g10/export.c') diff --git a/g10/export.c b/g10/export.c index 8f6371b30..b194a2aed 100644 --- a/g10/export.c +++ b/g10/export.c @@ -352,7 +352,7 @@ do_export (ctrl_t ctrl, strlist_t users, int secret, unsigned int options, memset( &zfx, 0, sizeof zfx); - rc = open_outfile (-1, NULL, 0, !!secret, &out ); + rc = open_outfile (-1, NULL, 0, !!secret, &out, 0 ); if (rc) return rc; -- cgit v1.2.3