diff options
author | Michael Brown | 2016-08-25 16:41:57 +0200 |
---|---|---|
committer | Michael Brown | 2016-08-25 16:41:57 +0200 |
commit | ff28b22568ebc2cb885beae5d0c95ddcf94dca8a (patch) | |
tree | 56b4698a7e833c37b4ba2bf1feb1dbb9824bd8a0 /src/net | |
parent | [crypto] Add image_x509() to extract X.509 certificates from image (diff) | |
download | ipxe-ff28b22568ebc2cb885beae5d0c95ddcf94dca8a.tar.gz ipxe-ff28b22568ebc2cb885beae5d0c95ddcf94dca8a.tar.xz ipxe-ff28b22568ebc2cb885beae5d0c95ddcf94dca8a.zip |
[crypto] Generalise X.509 "valid" field to a "flags" field
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net')
-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 57ad0e7b..52845b6e 100644 --- a/src/net/validator.c +++ b/src/net/validator.c @@ -478,7 +478,7 @@ static void validator_step ( struct validator *validator ) { issuer = link->cert; if ( ! cert ) continue; - if ( ! issuer->valid ) + if ( ! x509_is_valid ( issuer ) ) continue; /* The issuer is valid, but this certificate is not * yet valid. If OCSP is applicable, start it. |