From 7cdd06af479298748c79357dcb36ca1ba4d36bb1 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 29 Jul 2021 11:51:25 +0200 Subject: [PATCH] sm,w32: Fix Unicode problem on key box creation. * sm/keydb.c (maybe_create_keybox): Replace access by gnupg_access --- sm/keydb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;