1
0
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:
Werner Koch 2020-10-26 12:36:38 +01:00
parent 56a77f57db
commit fc0fc4c2d3
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;