Skip to content

Commit b4b7cb6

Browse files
committed
Remove re-check of hash algorithm since it's checked in initialize
1 parent 0b1f519 commit b4b7cb6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/ssh_data/signature.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,6 @@ def verify(signed_data)
8585
end
8686
end
8787

88-
raise AlgorithmError, "Unsupported digest algorithm #{@hash_algorithm}" if digest_algorithm.nil?
89-
9088
message_digest = digest_algorithm.digest(signed_data)
9189
blob =
9290
SIGNATURE_PREAMBLE +

0 commit comments

Comments
 (0)