Searched refs:TlsFail (Results 1 – 2 of 2) sorted by relevance
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()[all …]
359 TlsFail = -10, enumerator3458 return Err(Error::TlsFail); in do_handshake()5004 assert_eq!(pipe.handshake(&mut buf), Err(Error::TlsFail)); in handshake_alpn_mismatch()