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

This commit is contained in:
Juan Lang 2008-11-14 09:01:16 -08:00 committed by Alexandre Julliard
parent e987ecc3e7
commit 3b81c62b5c
1 changed files with 1 additions and 1 deletions

View File

@ -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;