mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-02 12:01:32 +01:00
g10,sm: Use gnupg_access at two more places
--
This commit is contained in:
parent
8264b10d33
commit
cf4b8a27c3
@ -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;
|
||||
|
||||
|
@ -245,7 +245,7 @@ maybe_create_keybox (char *filename, int force, int *r_created)
|
||||
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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user