Permalink
Browse files

digest default value

  • Loading branch information...
sanitar committed Mar 25, 2013
1 parent c700c90 commit 0cd90558f8d1d4ebe2c4b1ebe9317855761034cc
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/xmldsig/signature.rb
View
@@ -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.