Skip to content
Browse files

digest default value

  • Loading branch information...
1 parent c700c90 commit 0cd90558f8d1d4ebe2c4b1ebe9317855761034cc @sanitar committed
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/xmldsig/signature.rb
View
2 lib/xmldsig/signature.rb
@@ -77,6 +77,8 @@ def digest_method
Digest::SHA2
when "http://www.w3.org/2000/09/xmldsig#sha1"
Digest::SHA1
+ else
+ Digest::SHA2
end
end

0 comments on commit 0cd9055

Please sign in to comment.
Something went wrong with that request. Please try again.