diff options
author | Werner Koch <wk@gnupg.org> | 2017-11-15 11:01:10 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2017-11-15 11:01:10 +0100 |
commit | 091c4af64543cf95d92e09664b5eb1b729782064 (patch) | |
tree | 1abe5f5a75a39852e5e78f17efed1d4f86426afe /sm | |
parent | dirmngr: Check for WKD support at session end (diff) | |
parent | doc: Add man page for gpgtar (diff) | |
download | gnupg2-091c4af64543cf95d92e09664b5eb1b729782064.tar.xz gnupg2-091c4af64543cf95d92e09664b5eb1b729782064.zip |
Merge branch 'STABLE-BRANCH-2-2'
--
Kept our AUTHORS and README
Diffstat (limited to 'sm')
-rw-r--r-- | sm/keydb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/keydb.c b/sm/keydb.c index 87fc12d0e..d85679a3b 100644 --- a/sm/keydb.c +++ b/sm/keydb.c @@ -205,7 +205,7 @@ maybe_create_keybox (char *filename, int force, int *r_created) /* The file does not yet exist, create it now. */ oldmask = umask (077); - fp = fopen (filename, "w"); + fp = fopen (filename, "wb"); if (!fp) { rc = gpg_error_from_syserror (); |