diff options
author | Werner Koch <wk@gnupg.org> | 2020-10-26 12:39:26 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2020-10-26 12:50:13 +0100 |
commit | cf4b8a27c37db1ac50bd8d1aa6ad2b7ad3aeaa81 (patch) | |
tree | abe723bb7a96d501c268dc203e1effcd5854f38b /g10/keydb.c | |
parent | scd: Flush the cache when writing cert data object. (diff) | |
download | gnupg2-cf4b8a27c37db1ac50bd8d1aa6ad2b7ad3aeaa81.tar.xz gnupg2-cf4b8a27c37db1ac50bd8d1aa6ad2b7ad3aeaa81.zip |
g10,sm: Use gnupg_access at two more places
--
Diffstat (limited to 'g10/keydb.c')
-rw-r--r-- | g10/keydb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/keydb.c b/g10/keydb.c index f32eab055..2db231136 100644 --- a/g10/keydb.c +++ b/g10/keydb.c @@ -250,7 +250,7 @@ maybe_create_keyring_or_box (char *filename, int is_box, int force_create) not happen though. */ save_slash = *last_slash_in_filename; *last_slash_in_filename = 0; - if (access(filename, F_OK)) + if (gnupg_access(filename, F_OK)) { static int tried; |