Commit 3b81c62b authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

crypt32: Use correct string for directory names in a CERT_ALT_NAME_ENTRY.

parent e987ecc3
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment