aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2021-07-29 09:51:25 +0000
committerWerner Koch <[email protected]>2021-07-29 09:51:25 +0000
commit7cdd06af479298748c79357dcb36ca1ba4d36bb1 (patch)
treea49baf0813a0574397c2534492153117eaa74059
parenttools: Extend gpg-check-pattern. (diff)
downloadgnupg-7cdd06af479298748c79357dcb36ca1ba4d36bb1.tar.gz
gnupg-7cdd06af479298748c79357dcb36ca1ba4d36bb1.zip
sm,w32: Fix Unicode problem on key box creation.
* sm/keydb.c (maybe_create_keybox): Replace access by gnupg_access
-rw-r--r--sm/keydb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/keydb.c b/sm/keydb.c
index 048d04d31..5b28df7ab 100644
--- a/sm/keydb.c
+++ b/sm/keydb.c
@@ -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;