Skip to main content

moq_client_set_tls_disable_verify

Function moq_client_set_tls_disable_verify 

Source
#[unsafe(no_mangle)]
pub extern "C" fn moq_client_set_tls_disable_verify( client: u32, disable: bool, ) -> i32
Expand description

Skip TLS certificate verification.

Development only: it accepts any certificate, so it defeats the point of TLS. Prefer moq_client_set_tls_fingerprints to trust one known self-signed certificate.

Returns zero on success, or a negative code if the handle is unknown.