Skip to content

Commit ddc5eba

Browse files
committed
Upgrade openssl and hyper-tls
1 parent 958ee4f commit ddc5eba

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
@@ -37,7 +37,7 @@ url = "1.2.1"
3737
tar = "0.4.13"
3838
base64 = "0.9"
3939

40-
openssl = "0.9.14"
40+
openssl = "0.10.13"
4141
oauth2 = "0.3"
4242
log = "0.3"
4343
env_logger = "0.5"
@@ -78,7 +78,7 @@ civet = "0.9"
7878
[dev-dependencies]
7979
conduit-test = "0.8"
8080
hyper = "0.12"
81-
hyper-tls = "0.2"
81+
hyper-tls = "0.3"
8282
futures = "0.1"
8383
lazy_static = "1.0"
8484
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
@@ -262,5 +262,5 @@ fn verify_tarball(
262262
fn hash(data: &[u8]) -> Vec<u8> {
263263
let mut hasher = Hasher::new(MessageDigest::sha256()).unwrap();
264264
hasher.update(data).unwrap();
265-
hasher.finish2().unwrap().to_vec()
265+
hasher.finish().unwrap().to_vec()
266266
}

0 commit comments

Comments
 (0)