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.
1 parent 47b7a8e commit d914c81Copy full SHA for d914c81
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