openssl: Fixed compilation warning when /Wall enabled

warning C4706: assignment within conditional expression
This commit is contained in:
Steve Holme 2016-03-20 17:35:31 +00:00
parent eba1b3099f
commit 89f397d7eb
1 changed files with 2 additions and 1 deletions

View File

@ -1300,7 +1300,8 @@ static CURLcode verifystatus(struct connectdata *conn,
ASN1_GENERALIZEDTIME *rev, *thisupd, *nextupd;
if(!(single = OCSP_resp_get0(br, i)))
single = OCSP_resp_get0(br, i);
if(!single)
continue;
cert_status = OCSP_single_get0_status(single, &crl_reason, &rev,