Lines Matching refs:TlsFail
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()
819 Err(Error::TlsFail) in map_result_ssl()
832 5 => Err(Error::TlsFail), in map_result_ssl()
855 _ => Err(Error::TlsFail), in map_result_ssl()
922 _ => return Err(Error::TlsFail), in get_cipher_from_ptr()
1225 _ => Err(Error::TlsFail), in map_result()
1232 _ => Err(Error::TlsFail), in map_result_zero_is_success()
1239 None => Err(Error::TlsFail), in map_result_ptr()