Dmitry Timoshkov : crypt32: Avoid truncating unicode chars.
Alexandre Julliard
julliard at winehq.org
Wed Nov 17 16:27:59 CST 2021
Module: wine
Branch: master
Commit: 8afb89436f182c1b0e581bdf175e5f9310f0d872
URL: https://source.winehq.org/git/wine.git/?a=commit;h=8afb89436f182c1b0e581bdf175e5f9310f0d872
Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date: Wed Nov 17 21:57:08 2021 +0300
crypt32: Avoid truncating unicode chars.
So that strings containing Cyrillic Capital Letter ER (0x420) won't be
quoted when not needed.
Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/crypt32/str.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/crypt32/str.c b/dlls/crypt32/str.c
index 0ab4c7c6e85..0e75a674b55 100644
--- a/dlls/crypt32/str.c
+++ b/dlls/crypt32/str.c
@@ -156,7 +156,7 @@ DWORD WINAPI CertRDNValueToStrW(DWORD dwValueType, PCERT_RDN_VALUE_BLOB pValue,
return ret;
}
-static inline BOOL is_quotable_char(char c)
+static inline BOOL is_quotable_char(WCHAR c)
{
switch(c)
{
More information about the wine-cvs
mailing list