Use openssl-verify to check certificate + hostname

Fixes #4954.
This commit is contained in:
Matt Brubeck 2016-05-10 11:19:00 -07:00
parent c344461017
commit 5695da0c38
6 changed files with 52 additions and 5 deletions

View file

@ -1346,6 +1346,7 @@ dependencies = [
"msg 0.0.1",
"net_traits 0.0.1",
"openssl 0.7.11 (registry+https://github.com/rust-lang/crates.io-index)",
"openssl-verify 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"plugins 0.0.1",
"rustc-serialize 0.3.19 (registry+https://github.com/rust-lang/crates.io-index)",
"threadpool 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
@ -1581,6 +1582,14 @@ dependencies = [
"openssl-sys 0.7.11 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "openssl-verify"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"openssl 0.7.11 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "osmesa-sys"
version = "0.0.5"