Skip to content

Commit ec7b4ca

Browse files
committed
Remove unused variables
1 parent 29b9802 commit ec7b4ca

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

lib/onelogin/ruby-saml/response.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,6 @@ def issuers
289289
raise ValidationError.new(error_msg)
290290
end
291291

292-
_doc = decrypted_document.nil? ? document : decrypted_document
293292
issuer_assertion_nodes = xpath_from_signed_assertion("/a:Issuer")
294293
unless issuer_assertion_nodes.size == 1
295294
error_msg = "Issuer of the Assertion not found or multiple."

lib/xml_security.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,6 @@ def validate_signature(base64_cert, soft = true)
318318

319319
# check digests
320320
ref = REXML::XPath.first(sig_element, "//ds:Reference", {"ds"=>DSIG})
321-
_uri = ref.attributes.get_attribute("URI").value
322321

323322
hashed_element = document.at_xpath("//*[@ID=$id]", nil, { 'id' => extract_signed_element_id })
324323

0 commit comments

Comments
 (0)