Commit 298051ab authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

winhttp: Check for endCert being NULL (Coverity).

parent 6f8fb2f4
......@@ -359,6 +359,7 @@ static int netconn_secure_verify( int preverify_ok, X509_STORE_CTX *ctx )
CertFreeCertificateContext( context );
}
}
if (!endCert) ret = FALSE;
if (ret)
ret = netconn_verify_cert( endCert, store, server );
CertFreeCertificateContext( endCert );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment