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 2c22cdc commit db7505bCopy full SHA for db7505b
1 file changed
lib/onelogin/ruby-saml/saml_message.rb
@@ -81,14 +81,12 @@ def base64_encoded?(string)
81
end
82
83
def inflate(deflated)
84
- zlib = Zlib::Inflate.new(-Zlib::MAX_WBITS)
85
- zlib.inflate(deflated)
+ Zlib::Inflate.new(-Zlib::MAX_WBITS).inflate(deflated)
86
87
88
def deflate(inflated)
89
Zlib::Deflate.deflate(inflated, 9)[2..-5]
90
91
-
92
93
94
0 commit comments