diff options
author | Michael Brown <mcb30@ipxe.org> | 2014-03-25 16:09:16 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2014-03-25 16:30:43 +0000 |
commit | e1ebc50f81eb1ad24218a5e69d42565a9d8cc035 (patch) | |
tree | 4ccc865359dd1f65e7382e663a80e90d7b0db3b6 /src/net/validator.c | |
parent | 01fa7efa38060c010103d444b47a2cd3ff684f82 (diff) | |
download | ipxe-e1ebc50f81eb1ad24218a5e69d42565a9d8cc035.tar.gz |
[crypto] Remove dynamically-allocated storage for certificate OCSP URI
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/validator.c')
-rw-r--r-- | src/net/validator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/validator.c b/src/net/validator.c index 7913ed64f..60c54046e 100644 --- a/src/net/validator.c +++ b/src/net/validator.c @@ -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, |