1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

common:w32: Fix gnupg_w32_set_errno.

* common/sysutils.c (gnupg_w32_set_errno): Return EC.

--

Cherry-pick master commit of:
	4c6b759368bcf19a13df07c5c6080765ecac28ca

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2023-07-10 11:18:08 +09:00
parent 9ae3cfcabe
commit a3be97df4d
No known key found for this signature in database
GPG Key ID: 640114AF89DE6054

View File

@ -337,6 +337,7 @@ gnupg_w32_set_errno (int ec)
if (ec == -1)
ec = GetLastError ();
_set_errno (map_w32_to_errno (ec));
return ec;
}
#endif /*HAVE_W32_SYSTEM*/