Skip to content

Commit 4773910

Browse files
authored
password-hash: bump phc to v0.6.0-rc.1 (#2150)
1 parent 036bd87 commit 4773910

3 files changed

Lines changed: 8 additions & 20 deletions

File tree

Cargo.lock

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

password-hash/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ as well as a `no_std`-friendly implementation of the PHC string format
1818

1919
[dependencies]
2020
getrandom = { version = "0.4.0-rc.0", optional = true, default-features = false }
21-
phc = { version = "0.6.0-rc.0", optional = true, default-features = false }
21+
phc = { version = "0.6.0-rc.1", optional = true, default-features = false }
2222
rand_core = { version = "0.10.0-rc-3", optional = true, default-features = false }
2323

2424
[features]

password-hash/src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ impl From<getrandom::Error> for Error {
7878
impl From<phc::Error> for Error {
7979
fn from(err: phc::Error) -> Self {
8080
match err {
81-
phc::Error::B64Encoding(_) | phc::Error::MissingField | phc::Error::TrailingData => {
81+
phc::Error::Base64(_) | phc::Error::MissingField | phc::Error::TrailingData => {
8282
Self::EncodingInvalid
8383
}
8484
phc::Error::OutputSize { .. } => Self::OutputSize,

0 commit comments

Comments
 (0)