mirror of
https://github.com/ipxe/ipxe
synced 2026-02-14 02:31:26 +03:00
[x509] Make root of trust a reference-counted structure
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -71,6 +71,7 @@ static struct setting trust_setting __setting ( SETTING_CRYPTO, trust ) = {
|
||||
|
||||
/** Root certificates */
|
||||
struct x509_root root_certificates = {
|
||||
.refcnt = REF_INIT ( ref_no_free ),
|
||||
.digest = &sha256_algorithm,
|
||||
.count = ( sizeof ( fingerprints ) / FINGERPRINT_LEN ),
|
||||
.fingerprints = fingerprints,
|
||||
|
||||
Reference in New Issue
Block a user