mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
crypt32: Remove dead code (Clang).
This commit is contained in:
parent
b732d428de
commit
f73733b8b0
4 changed files with 0 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue