crypt32: Remove dead code (Clang).

This commit is contained in:
Frédéric Delanoy 2011-07-03 19:37:04 +02:00 committed by Alexandre Julliard
parent b732d428de
commit f73733b8b0
4 changed files with 0 additions and 6 deletions

View File

@ -234,7 +234,6 @@ static BOOL BinaryToBase64A(const BYTE *pbBinary,
strcpy(ptr, trailer);
ptr += strlen(ptr);
strcpy(ptr, sep);
ptr += strlen(sep);
}
*pcchString = charsNeeded - 1;
}
@ -429,7 +428,6 @@ static BOOL BinaryToBase64W(const BYTE *pbBinary,
strcpyW(ptr, trailer);
ptr += strlenW(ptr);
strcpyW(ptr, sep);
ptr += strlenW(sep);
}
*pcchString = charsNeeded - 1;
}

View File

@ -3302,7 +3302,6 @@ static BOOL match_dns_to_subject_dn(PCCERT_CONTEXT cert, LPCWSTR server_name)
{
LPCWSTR ptr = server_name;
matches = TRUE;
do {
LPCWSTR dot = strchrW(ptr, '.'), end;
/* 254 is the maximum DNS label length, see RFC 1035 */

View File

@ -1841,7 +1841,6 @@ static BOOL WINAPI CRYPT_AsnEncodePolicyQualifierUserNotice(
CERT_NAME_VALUE displayTextValue;
DWORD cItem = 0;
ret = TRUE;
if (notice->pNoticeReference)
{
items[cItem].encodeFunc = CRYPT_AsnEncodeNoticeReference;

View File

@ -1111,7 +1111,6 @@ static BOOL WINAPI CRYPT_FormatBasicConstraints2(DWORD dwCertEncodingType,
strcpyW(str, pathLengthHeader);
str += strlenW(pathLengthHeader);
strcpyW(str, pathLength);
str += strlenW(pathLength);
}
LocalFree(info);
}
@ -2468,7 +2467,6 @@ static BOOL WINAPI CRYPT_FormatSpcFinancialCriteria(DWORD dwCertEncodingType,
else
{
strcpyW(str, notAvailable);
str += strlenW(notAvailable);
}
}
}