mozilla_root_ca/
rustls.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::*;

use rustls_pki_types::CertificateDer;

pub const RUSTLS_CERTIFICATE_DER_LIST: [CertificateDer<'static>; DER_LIST_LEN] = {
    let mut list = [const { CertificateDer::from_slice(b"") }; DER_LIST_LEN];

    let mut i = 0;
    while i < DER_LIST_LEN {
        list[i] = CertificateDer::from_slice(DER_LIST[i]);
        i += 1;
    }

    list
};