Skip to content

Commit db5bb3e

Browse files
committed
fixed agent test
1 parent f44f457 commit db5bb3e

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ ssh-key = { version = "=0.7.0-rc.10", features = [
2626
"p521",
2727
"encryption",
2828
"ppk",
29+
"sha1",
2930
] }
3031
thiserror = "2.0.18"
3132
tokio = { version = "1.17.0" }

russh/src/helpers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ mod name_list {
8181
}
8282

8383
pub fn from_encoded_string(value: &str) -> Result<Self, ssh_encoding::Error> {
84-
Ok(Self(value.split(',').map(|s| s).try_fold(
84+
Ok(Self(value.split(',').try_fold(
8585
Vec::new(),
8686
|mut list, name| {
8787
if name.is_empty() || !name.is_ascii() {

0 commit comments

Comments
 (0)