Searched refs:TlsFail (Results 1 – 2 of 2) sorted by relevance
217 let file = ffi::CString::new(file).map_err(|_| Error::TlsFail)?; in load_verify_locations_from_file()230 let path = ffi::CString::new(path).map_err(|_| Error::TlsFail)?; in load_verify_locations_from_directory()241 let cstr = ffi::CString::new(file).map_err(|_| Error::TlsFail)?; in use_certificate_chain_file()248 let cstr = ffi::CString::new(file).map_err(|_| Error::TlsFail)?; in use_privkey_file()262 let cstr = ffi::CString::new("Root").map_err(|_| Error::TlsFail)?; in load_ca_certs()268 return Err(Error::TlsFail); in load_ca_certs()273 return Err(Error::TlsFail); in load_ca_certs()498 let cstr = ffi::CString::new(name).map_err(|_| Error::TlsFail)?; in set_host_name()573 return Err(Error::TlsFail); in set_session()580 return Err(Error::TlsFail); in set_session()[all …]
532 TlsFail, enumerator595 Error::TlsFail => -10, in to_c()8799 assert_eq!(pipe.handshake(), Err(Error::TlsFail)); in handshake_alpn_mismatch()13701 Err(Error::TlsFail) in app_close_by_server_during_handshake_private_key_failure()