Skip to content

Commit e7a05f9

Browse files
authored
Update to pbkdf2 0.12 (#1520)
1 parent eb69b8c commit e7a05f9

File tree

3 files changed

+5
-14
lines changed

3 files changed

+5
-14
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ default-features = false
177177
optional = true
178178

179179
[dependencies.pbkdf2]
180-
version = "0.11.0"
180+
version = "0.12.0"
181181
default-features = false
182182

183183
[dependencies.reqwest]

src/client/auth/scram.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ fn h_i<M: KeyInit + FixedOutput + Mac + Sync + Clone>(
382382
output_size: usize,
383383
) -> Vec<u8> {
384384
let mut buf = vec![0u8; output_size];
385-
pbkdf2::pbkdf2::<M>(str.as_bytes(), salt, iterations, buf.as_mut_slice());
385+
pbkdf2::pbkdf2::<M>(str.as_bytes(), salt, iterations, buf.as_mut_slice()).unwrap();
386386
buf
387387
}
388388

0 commit comments

Comments
 (0)