Skip to content

Commit c3e33e7

Browse files
committed
Fix issue with the REXML statement that I modified
1 parent 4601663 commit c3e33e7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/onelogin/ruby-saml/utils.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,8 @@ def self.retrieve_symmetric_key(encrypt_data, private_key)
133133
encrypt_data,
134134
"./ds:KeyInfo/xenc:EncryptedKey or \
135135
//xenc:EncryptedKey[@Id=$id]",
136-
{ "ds" => DSIG, "xenc" => XENC,
137-
"id" => self.retrieve_symetric_key_reference(encrypt_data)
138-
}
136+
{ "ds" => DSIG, "xenc" => XENC },
137+
{ "id" => self.retrieve_symetric_key_reference(encrypt_data) }
139138
)
140139

141140
encrypted_symmetric_key_element = REXML::XPath.first(

0 commit comments

Comments
 (0)