Commit f215784e authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

cryptdlg: Remove variable headingSep which is not really used from CRYPT_FormatCPS.

parent b8ee1459
...@@ -534,19 +534,13 @@ static BOOL CRYPT_FormatCPS(DWORD dwCertEncodingType, ...@@ -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);
......
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