Lines Matching refs:TlsFail
147 let file = ffi::CString::new(file).map_err(|_| Error::TlsFail)?; in load_verify_locations_from_file()
160 let path = ffi::CString::new(path).map_err(|_| Error::TlsFail)?; in load_verify_locations_from_directory()
171 let cstr = ffi::CString::new(file).map_err(|_| Error::TlsFail)?; in use_certificate_chain_file()
178 let cstr = ffi::CString::new(file).map_err(|_| Error::TlsFail)?; in use_privkey_file()
192 let cstr = ffi::CString::new("Root").map_err(|_| Error::TlsFail)?; in load_ca_certs()
198 return Err(Error::TlsFail); in load_ca_certs()
203 return Err(Error::TlsFail); in load_ca_certs()
377 let cstr = ffi::CString::new(name).map_err(|_| Error::TlsFail)?; in set_host_name()
550 _ => return Err(Error::TlsFail), in get_cipher_from_ptr()
785 _ => Err(Error::TlsFail), in map_result()
792 _ => Err(Error::TlsFail), in map_result_zero_is_success()
799 None => Err(Error::TlsFail), in map_result_ptr()
814 Err(Error::TlsFail) in map_result_ssl()
827 5 => Err(Error::TlsFail), in map_result_ssl()
838 _ => Err(Error::TlsFail), in map_result_ssl()