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); strcpy(ptr, trailer);
ptr += strlen(ptr); ptr += strlen(ptr);
strcpy(ptr, sep); strcpy(ptr, sep);
ptr += strlen(sep);
} }
*pcchString = charsNeeded - 1; *pcchString = charsNeeded - 1;
} }
@ -429,7 +428,6 @@ static BOOL BinaryToBase64W(const BYTE *pbBinary,
strcpyW(ptr, trailer); strcpyW(ptr, trailer);
ptr += strlenW(ptr); ptr += strlenW(ptr);
strcpyW(ptr, sep); strcpyW(ptr, sep);
ptr += strlenW(sep);
} }
*pcchString = charsNeeded - 1; *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; LPCWSTR ptr = server_name;
matches = TRUE;
do { do {
LPCWSTR dot = strchrW(ptr, '.'), end; LPCWSTR dot = strchrW(ptr, '.'), end;
/* 254 is the maximum DNS label length, see RFC 1035 */ /* 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; CERT_NAME_VALUE displayTextValue;
DWORD cItem = 0; DWORD cItem = 0;
ret = TRUE;
if (notice->pNoticeReference) if (notice->pNoticeReference)
{ {
items[cItem].encodeFunc = CRYPT_AsnEncodeNoticeReference; items[cItem].encodeFunc = CRYPT_AsnEncodeNoticeReference;

View File

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