mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
g10,sm: Use gnupg_access at two more places.
--
This commit is contained in:
parent
56a77f57db
commit
fc0fc4c2d3
@ -332,7 +332,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;
|
||||
|
||||
|
@ -152,7 +152,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