From ac7f6b7282c22009d0cc45d1381513811600d212 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Thu, 8 Aug 2024 09:31:33 -0600 Subject: [PATCH] ssh-key: fix "OpensSH" => "OpenSSH" --- ssh-key/src/signature.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssh-key/src/signature.rs b/ssh-key/src/signature.rs index 4634562..797eb60 100644 --- a/ssh-key/src/signature.rs +++ b/ssh-key/src/signature.rs @@ -102,7 +102,7 @@ impl Signature { pub fn new(algorithm: Algorithm, data: impl Into>) -> Result { let data = data.into(); - // Validate signature is well-formed per OpensSH encoding + // Validate signature is well-formed per OpenSSH encoding match algorithm { Algorithm::Dsa if data.len() == DSA_SIGNATURE_SIZE => (), Algorithm::Ecdsa { curve } => ecdsa_sig_size(&data, curve, false)?,