Skip to content

Commit d914c81

Browse files
author
Pat Collins
committed
bugfix: Keep API backward-compatibility.
1 parent 47b7a8e commit d914c81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/onelogin/ruby-saml/idp_metadata_parser.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def certificate
209209

210210
# @return [String|nil] the SHA-1 fingerpint of the X509Certificate if it exists
211211
#
212-
def fingerprint(fingerprint_algorithm)
212+
def fingerprint(fingerprint_algorithm = XMLSecurity::Document::SHA1)
213213
@fingerprint ||= begin
214214
if certificate
215215
cert = OpenSSL::X509::Certificate.new(certificate)

0 commit comments

Comments
 (0)