aboutsummaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2014-03-25 16:09:16 +0000
committerMichael Brown <mcb30@ipxe.org>2014-03-25 16:30:43 +0000
commite1ebc50f81eb1ad24218a5e69d42565a9d8cc035 (patch)
tree4ccc865359dd1f65e7382e663a80e90d7b0db3b6 /src/net
parent01fa7efa38060c010103d444b47a2cd3ff684f82 (diff)
downloadipxe-e1ebc50f81eb1ad24218a5e69d42565a9d8cc035.zip
ipxe-e1ebc50f81eb1ad24218a5e69d42565a9d8cc035.tar.gz
ipxe-e1ebc50f81eb1ad24218a5e69d42565a9d8cc035.tar.bz2
[crypto] Remove dynamically-allocated storage for certificate OCSP URI
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net')
-rw-r--r--src/net/validator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/validator.c b/src/net/validator.c
index 7913ed6..60c5404 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,