Skip to content

Commit

Permalink
Add comments for certificates
Browse files Browse the repository at this point in the history
  • Loading branch information
TheButlah committed May 13, 2024
1 parent d221a10 commit 8c96222
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions security-utils/src/reqwest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ use color_eyre::{
use hex_literal::hex;
use reqwest::{Certificate, Client, ClientBuilder};

pub use reqwest;

const AWS_ROOT_CA_CERT: &[u8] = include_bytes!(concat!(
env!("CARGO_MANIFEST_DIR"),
"/certs/AmazonRootCA1.pem"
Expand All @@ -24,7 +26,9 @@ static GTS_ROOT_R1_SHA256: [u8; 32] =
/// Important certificates we vendor for security
#[derive(Debug)]
pub struct VendoredCerts {
/// AWS Root CA
pub aws_root_ca: Certificate,
/// Google Trust Services Root CA
pub gts_root_r1: Certificate,
}

Expand Down

0 comments on commit 8c96222

Please sign in to comment.