diff options
author | Michael Brown <mcb30@ipxe.org> | 2016-08-25 15:41:57 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2016-08-25 15:41:57 +0100 |
commit | ff28b22568ebc2cb885beae5d0c95ddcf94dca8a (patch) | |
tree | 56b4698a7e833c37b4ba2bf1feb1dbb9824bd8a0 /src/crypto/ocsp.c | |
parent | e564a4e7d6b5aa0dca94399c695f2d7cac949648 (diff) | |
download | ipxe-ff28b22568ebc2cb885beae5d0c95ddcf94dca8a.zip ipxe-ff28b22568ebc2cb885beae5d0c95ddcf94dca8a.tar.gz ipxe-ff28b22568ebc2cb885beae5d0c95ddcf94dca8a.tar.bz2 |
[crypto] Generalise X.509 "valid" field to a "flags" field
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/crypto/ocsp.c')
-rw-r--r-- | src/crypto/ocsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/ocsp.c b/src/crypto/ocsp.c index e7adcdb..b83f4c0 100644 --- a/src/crypto/ocsp.c +++ b/src/crypto/ocsp.c @@ -282,7 +282,7 @@ int ocsp_check ( struct x509_certificate *cert, /* Sanity checks */ assert ( cert != NULL ); assert ( issuer != NULL ); - assert ( issuer->valid ); + assert ( x509_is_valid ( issuer ) ); /* Allocate and initialise check */ *ocsp = zalloc ( sizeof ( **ocsp ) ); |