mirror of
https://github.com/xcat2/xNBA.git
synced 2025-02-11 16:23:47 +00:00
[crypto] Return a NULL OCSP check if construction fails
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
parent
c923d57663
commit
b278094902
@ -217,6 +217,7 @@ int ocsp_check ( struct x509_certificate *cert,
|
||||
err_request:
|
||||
ocsp_put ( *ocsp );
|
||||
err_alloc:
|
||||
*ocsp = NULL;
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user