Skip to content

Commit 47ca41d

Browse files
authored
Send proper algorithm for certificates (#378)
1 parent 9786a3f commit 47ca41d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

russh/src/negotiation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ impl<'a> Named<'a> for PrivateKey {
177177

178178
impl<'a> Named<'a> for Certificate {
179179
fn name(&'a self) -> impl AsRef<str> + 'a {
180-
self.algorithm()
180+
self.algorithm().to_certificate_type()
181181
}
182182
}
183183

0 commit comments

Comments
 (0)