crypt32: Use correct string for directory names in a CERT_ALT_NAME_ENTRY.
This commit is contained in:
parent
e987ecc3e7
commit
3b81c62b5c
|
@ -785,7 +785,7 @@ static BOOL CRYPT_FormatAltNameEntry(DWORD dwFormatStrType, DWORD indentLevel,
|
|||
DWORD directoryNameLen = CertNameToStrW(X509_ASN_ENCODING,
|
||||
&entry->u.DirectoryName, strType, NULL, 0);
|
||||
|
||||
LoadStringW(hInstance, IDS_ALT_NAME_OTHER_NAME, buf,
|
||||
LoadStringW(hInstance, IDS_ALT_NAME_DIRECTORY_NAME, buf,
|
||||
sizeof(buf) / sizeof(buf[0]));
|
||||
bytesNeeded += (directoryNameLen - 1) * sizeof(WCHAR);
|
||||
ret = TRUE;
|
||||
|
|
Loading…
Reference in New Issue