1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

g10,sm: Use gnupg_access at two more places

--
This commit is contained in:
Werner Koch 2020-10-26 12:39:26 +01:00
parent 8264b10d33
commit cf4b8a27c3
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
2 changed files with 2 additions and 2 deletions

View file

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