mirror of
https://github.com/ipxe/ipxe
synced 2025-12-25 00:17:57 +03:00
[crypto] Remove dynamically-allocated storage for certificate OCSP URI
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -477,7 +477,7 @@ static void validator_step ( struct validator *validator ) {
|
||||
/* The issuer is valid, but this certificate is not
|
||||
* yet valid. If OCSP is applicable, start it.
|
||||
*/
|
||||
if ( cert->extensions.auth_info.ocsp.uri &&
|
||||
if ( cert->extensions.auth_info.ocsp.uri.len &&
|
||||
( ! cert->extensions.auth_info.ocsp.good ) ) {
|
||||
/* Start OCSP */
|
||||
if ( ( rc = validator_start_ocsp ( validator, cert,
|
||||
|
||||
Reference in New Issue
Block a user