1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

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

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,