diff --git a/dlls/crypt32/base64.c b/dlls/crypt32/base64.c index 9a3079a81f3..a01a7b6459c 100644 --- a/dlls/crypt32/base64.c +++ b/dlls/crypt32/base64.c @@ -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; } diff --git a/dlls/crypt32/chain.c b/dlls/crypt32/chain.c index 8af49f46af7..4bc2d053b62 100644 --- a/dlls/crypt32/chain.c +++ b/dlls/crypt32/chain.c @@ -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 */ diff --git a/dlls/crypt32/encode.c b/dlls/crypt32/encode.c index 6b61337c2e4..05a35581f12 100644 --- a/dlls/crypt32/encode.c +++ b/dlls/crypt32/encode.c @@ -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; diff --git a/dlls/crypt32/object.c b/dlls/crypt32/object.c index 2587c4d293c..cff96f9c0da 100644 --- a/dlls/crypt32/object.c +++ b/dlls/crypt32/object.c @@ -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); } } }