Skip to content

Commit 7bbc490

Browse files
committed
Upgrade openssl and hyper-tls
1 parent 27842db commit 7bbc490

File tree

4 files changed

+20
-45
lines changed

4 files changed

+20
-45
lines changed

Cargo.lock

Lines changed: 16 additions & 41 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ url = "1.2.1"
3636
tar = "0.4.13"
3737
base64 = "0.9"
3838

39-
openssl = "0.9.14"
39+
openssl = "0.10.13"
4040
oauth2 = "0.3"
4141
log = "0.3"
4242
env_logger = "0.5"
@@ -76,7 +76,7 @@ civet = "0.9"
7676
[dev-dependencies]
7777
conduit-test = "0.8"
7878
hyper = "0.12"
79-
hyper-tls = "0.2"
79+
hyper-tls = "0.3"
8080
futures = "0.1"
8181
lazy_static = "1.0"
8282
tokio-core = "0.1"

src/s3/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ path = "lib.rs"
1515
[dependencies]
1616
base64 = "0.6"
1717
chrono = "0.4"
18-
openssl = "0.9"
18+
openssl = "0.10.13"
1919
reqwest = "0.9.1"

src/uploaders.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,5 +256,5 @@ fn verify_tarball(
256256
fn hash(data: &[u8]) -> Vec<u8> {
257257
let mut hasher = Hasher::new(MessageDigest::sha256()).unwrap();
258258
hasher.update(data).unwrap();
259-
hasher.finish2().unwrap().to_vec()
259+
hasher.finish().unwrap().to_vec()
260260
}

0 commit comments

Comments
 (0)