Skip to content

Commit

Permalink
Fix typo in get_publickey_hash() exception
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesWrigley committed Feb 1, 2024
1 parent 305fa25 commit 70cbe87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pki.jl
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ Wrapper around [`lib.ssh_get_publickey_hash()`](@ref).
"""
function get_publickey_hash(key::SshKey, hash_type::HashType=HashType_Sha256)
if !isassigned(key)
throw(ArgumentError("SshKey has been free'd, can't get its public key has"))
throw(ArgumentError("SshKey has been free'd, can't get its public key hash"))
end

if hash_type == HashType_Md5 || hash_type == HashType_Sha1
Expand Down

0 comments on commit 70cbe87

Please sign in to comment.