mirror of
https://github.com/curl/curl.git
synced 2026-05-19 10:56:21 +03:00
openssl: Fixed compilation warning when /Wall enabled
warning C4706: assignment within conditional expression
This commit is contained in:
parent
eba1b3099f
commit
89f397d7eb
1 changed files with 2 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue