Skip to content

Commit ddb5a43

Browse files
Merge #1408
1408: Run `cargo update -p openssl` and fix deprecation r=sgrif This is a semver compatible bump. A bump to 0.10+ will be done in a future PR.
2 parents 1fd174a + 28f3d21 commit ddb5a43

File tree

2 files changed

+28
-19
lines changed

2 files changed

+28
-19
lines changed

Cargo.lock

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

src/s3/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ impl Bucket {
134134
let key = PKey::hmac(self.secret_key.as_bytes()).unwrap();
135135
let mut signer = Signer::new(MessageDigest::sha1(), &key).unwrap();
136136
signer.update(string.as_bytes()).unwrap();
137-
encode(&signer.finish().unwrap()[..])
137+
encode(&signer.sign_to_vec().unwrap()[..])
138138
};
139139
format!("AWS {}:{}", self.access_key, signature)
140140
}

0 commit comments

Comments
 (0)