Skip to content

Use openssl-verify to check certificate + hostname - #11115

Merged
bors-servo merged 2 commits into
servo:masterfrom
mbrubeck:openssl-verify
May 10, 2016
Merged

bors-servo merged 2 commits into
servo:masterfrom
mbrubeck:openssl-verify

Conversation

@mbrubeck

@mbrubeck mbrubeck commented May 10, 2016 •

Copy link
Copy Markdown
Contributor

Fixes #4954. r? @jdm

This is based on hyperium/hyper#472, though it doesn't re-use that code directly because Servo configures its own OpenSSL context.


This change is Reviewable

@highfive

Copy link
Copy Markdown

Heads up! This PR modifies the following files:

  • @KiChjang: components/net/Cargo.toml, components/net/fetch/methods.rs, components/net/resource_thread.rs, components/net/lib.rs, components/net/http_loader.rs, components/net/connector.rs

@highfive

Copy link
Copy Markdown

warning Warning warning

  • These commits modify net code, but no tests are modified. Please consider adding a test!

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label May 10, 2016
@mbrubeck

Copy link
Copy Markdown
Contributor Author

Note: Adds a dependency on https://crates.io/crates/openssl-verify by @sfackler, which is under the MIT/Apache-2.0 licenses.

@highfive

Copy link
Copy Markdown

New code was committed to pull request.

@jdm

jdm commented May 10, 2016

Copy link
Copy Markdown
Member

@bors-servo: r+
It's unfortunate that we can't test SSL in WPT yet, and I can't think of a way to write a non-WPT for this.

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 5695da0 has been approved by jdm

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels May 10, 2016
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 5695da0 with merge 40be84d...

bors-servo pushed a commit that referenced this pull request May 10, 2016
Use openssl-verify to check certificate + hostname

Fixes #4954.  r? @jdm

This is based on hyperium/hyper#472, though it doesn't re-use that code directly because Servo configures its own OpenSSL context.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11115)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt, windows

@bors-servo
bors-servo merged commit 5695da0 into servo:master May 10, 2016
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label May 10, 2016
@mbrubeck
mbrubeck deleted the openssl-verify branch May 11, 2016 03:32
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.

4 participants