Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[crypto] Return a NULL OCSP check if construction fails
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed May 21, 2012
1 parent c923d57 commit b278094
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/crypto/ocsp.c
Expand Up @@ -217,6 +217,7 @@ int ocsp_check ( struct x509_certificate *cert,
err_request:
ocsp_put ( *ocsp );
err_alloc:
*ocsp = NULL;
return rc;
}

Expand Down

0 comments on commit b278094

Please sign in to comment.