Function ctru_sys::httpcAddTrustedRootCA
source · pub unsafe extern "C" fn httpcAddTrustedRootCA(
context: *mut httpcContext,
cert: *const u8_,
certsize: u32_
) -> Result
Expand description
Adds a trusted RootCA cert to a HTTP context.
§Arguments
context
- Context to use.cert
- Pointer to DER cert.certsize
- Size of the DER cert.