fixed stupid bug in fetch_ocsp()
This commit is contained in:
@@ -476,7 +476,7 @@ static certificate_t *fetch_ocsp(private_credential_manager_t *this, char *url,
|
|||||||
issuer_cert->destroy(issuer_cert);
|
issuer_cert->destroy(issuer_cert);
|
||||||
DBG1(DBG_CFG, " ocsp response is %strusted: %s signature",
|
DBG1(DBG_CFG, " ocsp response is %strusted: %s signature",
|
||||||
ok ? "":"un", ok ? "good" : "bad");
|
ok ? "":"un", ok ? "good" : "bad");
|
||||||
if (ok)
|
if (!ok)
|
||||||
{
|
{
|
||||||
response->destroy(response);
|
response->destroy(response);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user