fixed stupid bug in fetch_ocsp()

This commit is contained in:
Andreas Steffen
2008-03-19 12:36:15 +00:00
parent ae8715f956
commit 2590faa330
+1 -1
View File
@@ -476,7 +476,7 @@ static certificate_t *fetch_ocsp(private_credential_manager_t *this, char *url,
issuer_cert->destroy(issuer_cert);
DBG1(DBG_CFG, " ocsp response is %strusted: %s signature",
ok ? "":"un", ok ? "good" : "bad");
if (ok)
if (!ok)
{
response->destroy(response);
return NULL;