Function grpcio_sys::grpc_set_ssl_roots_override_callback
source · pub unsafe extern "C" fn grpc_set_ssl_roots_override_callback(
cb: grpc_ssl_roots_override_callback
)
Expand description
Setup a callback to override the default TLS/SSL roots. This function is not thread-safe and must be called at initialization time before any ssl credentials are created to have the desired side effect. If GRPC_DEFAULT_SSL_ROOTS_FILE_PATH environment is set to a valid path, the callback will not be called.