From ff28b22568ebc2cb885beae5d0c95ddcf94dca8a Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 25 Aug 2016 15:41:57 +0100 Subject: [crypto] Generalise X.509 "valid" field to a "flags" field Signed-off-by: Michael Brown --- src/tests/ocsp_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tests') diff --git a/src/tests/ocsp_test.c b/src/tests/ocsp_test.c index c6d45859..a3349346 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 ); } -- cgit v1.2.3-55-g7522