mirror of
https://github.com/ipxe/ipxe
synced 2026-04-04 03:00:20 +03:00
[crypto] Allow certificates to be marked as having been added explicitly
Allow certificates to be marked as having been added explicitly at run time. Such certificates will not be discarded via the certificate store cache discarder. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -220,6 +220,10 @@ struct x509_certificate {
|
||||
enum x509_flags {
|
||||
/** Certificate has been validated */
|
||||
X509_FL_VALIDATED = 0x0001,
|
||||
/** Certificate was added at build time */
|
||||
X509_FL_PERMANENT = 0x0002,
|
||||
/** Certificate was added explicitly at run time */
|
||||
X509_FL_EXPLICIT = 0x0004,
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user