Skip to content

Commit daad7ce

Browse files
committed
[skip ci] Fix variable reference in README code example
1 parent 972747f commit daad7ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ xml = response.body
444444
errors = []
445445
doc = XMLSecurity::SignedDocument.new(xml, errors)
446446
cert_str = "<include_cert_here>"
447-
cert = OneLogin::RubySaml::Utils.format_cert("cert_str")
447+
cert = OneLogin::RubySaml::Utils.format_cert(cert_str)
448448
metadata_sign_cert = OpenSSL::X509::Certificate.new(cert)
449449
valid = doc.validate_document_with_cert(metadata_sign_cert, true)
450450
if valid

0 commit comments

Comments
 (0)