We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 47b7a8e + d914c81 commit 5ebd8d1Copy full SHA for 5ebd8d1
lib/onelogin/ruby-saml/idp_metadata_parser.rb
@@ -209,7 +209,7 @@ def certificate
209
210
# @return [String|nil] the SHA-1 fingerpint of the X509Certificate if it exists
211
#
212
- def fingerprint(fingerprint_algorithm)
+ def fingerprint(fingerprint_algorithm = XMLSecurity::Document::SHA1)
213
@fingerprint ||= begin
214
if certificate
215
cert = OpenSSL::X509::Certificate.new(certificate)
0 commit comments