cryptdlg: Remove variable headingSep which is not really used from CRYPT_FormatCPS.
This commit is contained in:
parent
b8ee145992
commit
f215784edc
|
@ -534,19 +534,13 @@ static BOOL CRYPT_FormatCPS(DWORD dwCertEncodingType,
|
||||||
if ((ret = CryptDecodeObjectEx(dwCertEncodingType, X509_UNICODE_ANY_STRING,
|
if ((ret = CryptDecodeObjectEx(dwCertEncodingType, X509_UNICODE_ANY_STRING,
|
||||||
pbEncoded, cbEncoded, CRYPT_DECODE_ALLOC_FLAG, NULL, &cpsValue, &size)))
|
pbEncoded, cbEncoded, CRYPT_DECODE_ALLOC_FLAG, NULL, &cpsValue, &size)))
|
||||||
{
|
{
|
||||||
LPCWSTR headingSep, sep;
|
LPCWSTR sep;
|
||||||
DWORD sepLen;
|
DWORD sepLen;
|
||||||
|
|
||||||
if (dwFormatStrType & CRYPT_FORMAT_STR_MULTI_LINE)
|
if (dwFormatStrType & CRYPT_FORMAT_STR_MULTI_LINE)
|
||||||
{
|
|
||||||
headingSep = colonCrlf;
|
|
||||||
sep = crlf;
|
sep = crlf;
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
|
||||||
headingSep = colonSpace;
|
|
||||||
sep = commaSep;
|
sep = commaSep;
|
||||||
}
|
|
||||||
|
|
||||||
sepLen = strlenW(sep);
|
sepLen = strlenW(sep);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue