mirror of
https://github.com/ipxe/ipxe
synced 2025-12-29 02:52:36 +03:00
[crypto] Generalise X.509 "valid" field to a "flags" field
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user