Skip to content

Commit

Permalink
ssh-key: fix "OpensSH" => "OpenSSH"
Browse files Browse the repository at this point in the history
  • Loading branch information
tarcieri committed Aug 8, 2024
1 parent e4198f5 commit ac7f6b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssh-key/src/signature.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ impl Signature {
pub fn new(algorithm: Algorithm, data: impl Into<Vec<u8>>) -> Result<Self> {
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)?,
Expand Down

0 comments on commit ac7f6b7

Please sign in to comment.