Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the legacy networking stack. #14360

Merged
merged 9 commits into from Nov 24, 2016

Remove unused UIProvider trait definition.

  • Loading branch information
Ms2ger committed Nov 24, 2016
commit 5febfdc4d646fd9924873cd9e13c618981490663
@@ -607,10 +607,6 @@ pub fn obtain_response<A>(request_factory: &HttpRequestFactory<R=A>,
Ok((response, msg))
}

pub trait UIProvider {
fn input_username_and_password(&self, prompt: &str) -> (Option<String>, Option<String>);
}

// FIXME: This incredibly hacky. Make it more robust, and at least test it.
fn is_cert_verify_error(error: &OpensslError) -> bool {
match error {
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.