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@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Dmitry Timoshkov 2021-11-17 21:57:08 +03:00 committed by Alexandre Julliard
parent 177f808aa8
commit 8afb89436f
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{