aboutsummaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2016-08-25 15:41:57 +0100
committerMichael Brown <mcb30@ipxe.org>2016-08-25 15:41:57 +0100
commitff28b22568ebc2cb885beae5d0c95ddcf94dca8a (patch)
tree56b4698a7e833c37b4ba2bf1feb1dbb9824bd8a0 /src/tests
parente564a4e7d6b5aa0dca94399c695f2d7cac949648 (diff)
downloadipxe-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/tests')
-rw-r--r--src/tests/ocsp_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/ocsp_test.c b/src/tests/ocsp_test.c
index c6d4585..a334934 100644
--- a/src/tests/ocsp_test.c
+++ b/src/tests/ocsp_test.c
@@ -110,7 +110,7 @@ static void ocsp_prepare_test ( struct ocsp_test *test ) {
x509_invalidate ( cert );
/* Force-validate issuer certificate */
- issuer->valid = 1;
+ issuer->flags |= X509_FL_VALIDATED;
issuer->path_remaining = ( issuer->extensions.basic.path_len + 1 );
}