winhttp: Check for endCert being NULL (Coverity).
This commit is contained in:
parent
6f8fb2f4e7
commit
298051ab37
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue