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

Various networking fixes #400

Merged
merged 14 commits into from
May 6, 2016
Merged

Various networking fixes #400

merged 14 commits into from
May 6, 2016

Conversation

brson
Copy link
Contributor

@brson brson commented May 6, 2016

  • Use the platform-native TLS stacks with native-tls, removing the OpenSSL dep on Windows.
  • Do TLS hostname verification, via native-tls
  • Remove the direct OpenSSL dep by switching to rust-crypto for sha256
  • Upgrade OpenSSL to the latest version on Unix

Fixes #243, fixes #204, #344

r? @alexcrichton cc @sfackler @seanmonstar

@brson
Copy link
Contributor Author

brson commented May 6, 2016

It appears that rust-crypto has a native component that's failing the build. I'll find a sha256 implementation that doesn't.

@@ -1,13 +1,15 @@
#![feature(core_intrinsics)] // For type_name().
#![feature(fundamental)]
#![feature(step_by)]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:( I thought we wanted to go the other way

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it just happened to be used by the sha code and didn't seem worth messing with, but it should be easy to remove. I'll look at it.

@alexcrichton
Copy link
Member

Nice! r+ from me basically, but looks like the openssl crate is still getting compiled on MinGW which is causing a build failure. Maybe something's bringing it in by accident?

@brson brson merged commit 2b7c96f into rust-lang:master May 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build openssl on appveyor Don't require a custom .cargo/config to build
2 participants