diff options
author | Michael Brown | 2014-03-25 17:09:16 +0100 |
---|---|---|
committer | Michael Brown | 2014-03-25 17:30:43 +0100 |
commit | e1ebc50f81eb1ad24218a5e69d42565a9d8cc035 (patch) | |
tree | 4ccc865359dd1f65e7382e663a80e90d7b0db3b6 /src/net/validator.c | |
parent | [crypto] Remove dynamically-allocated storage for certificate name (diff) | |
download | ipxe-e1ebc50f81eb1ad24218a5e69d42565a9d8cc035.tar.gz ipxe-e1ebc50f81eb1ad24218a5e69d42565a9d8cc035.tar.xz ipxe-e1ebc50f81eb1ad24218a5e69d42565a9d8cc035.zip |
[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 7913ed64..60c54046 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, |