Skip to content

Commit

Permalink
Use old base64 API for bundled revocations.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Mar 26, 2023
1 parent 0e4c31d commit 8c2456b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cargo/sources/git/known_hosts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ fn check_ssh_known_hosts(
}
}
for (patterns, key_type, key) in BUNDLED_REVOCATIONS {
let key = STANDARD.decode(key).unwrap();
let key = base64::decode(key).unwrap();
known_hosts.push(KnownHost {
location: KnownHostLocation::Bundled,
patterns: patterns.to_string(),
Expand Down

0 comments on commit 8c2456b

Please sign in to comment.