Nikolay Sivov nsivov@codeweavers.com writes:
@@ -270,7 +270,7 @@ static DWORD netconn_verify_cert(PCCERT_CONTEXT cert, HCERTSTORE store, else if (chain->TrustStatus.dwErrorStatus & ~supportedErrors) err = ERROR_INTERNET_SEC_INVALID_CERT; }
if (!err)
if (err == ERROR_SUCCESS)
There's no reason to change this. 0 meaning success is a common convention, and at least as clear as using an error code for no error.