sm,w32: Fix Unicode problem on key box creation.

* sm/keydb.c (maybe_create_keybox): Replace access by gnupg_access
This commit is contained in:
Werner Koch 2021-07-29 11:51:25 +02:00
parent 73c03e0232
commit 7cdd06af47
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ maybe_create_keybox (char *filename, int force, int *r_created)
}
/* Now the real test while we are locked. */
if (!access(filename, F_OK))
if (!gnupg_access(filename, F_OK))
{
rc = 0; /* Okay, we may access the file now. */
goto leave;