aboutsummaryrefslogtreecommitdiffstats
path: root/g10/main.h
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2017-08-01 15:41:03 +0000
committerMarcus Brinkmann <[email protected]>2017-08-01 15:41:03 +0000
commitebc65ff459e6c228fb7406e375819a9fe5637abe (patch)
treeb5db1cf2eae3cbc5b9be17ac37696aa97be2aa7d /g10/main.h
parentartwork: Add icons. (diff)
downloadgnupg-ebc65ff459e6c228fb7406e375819a9fe5637abe.tar.gz
gnupg-ebc65ff459e6c228fb7406e375819a9fe5637abe.zip
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 <[email protected]> GnuPG-bug-id: 3015
Diffstat (limited to '')
-rw-r--r--g10/main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/main.h b/g10/main.h
index 87417ee37..5862cdf27 100644
--- a/g10/main.h
+++ b/g10/main.h
@@ -324,7 +324,7 @@ int overwrite_filep( const char *fname );
char *make_outfile_name( const char *iname );
char *ask_outfile_name( const char *name, size_t namelen );
int open_outfile (int inp_fd, const char *iname, int mode,
- int restrictedperm, iobuf_t *a);
+ int restrictedperm, iobuf_t *a, int no_outfile);
char *get_matching_datafile (const char *sigfilename);
iobuf_t open_sigfile (const char *sigfilename, progress_filter_context_t *pfx);
void try_make_homedir( const char *fname );