mirror of
https://github.com/ipxe/ipxe
synced 2025-12-31 15:25:23 +03:00
[crypto] Return a NULL OCSP check if construction fails
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -217,6 +217,7 @@ int ocsp_check ( struct x509_certificate *cert,
|
|||||||
err_request:
|
err_request:
|
||||||
ocsp_put ( *ocsp );
|
ocsp_put ( *ocsp );
|
||||||
err_alloc:
|
err_alloc:
|
||||||
|
*ocsp = NULL;
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user