lib/oschadbank/response.rb in oschadbank-0.1.2 vs lib/oschadbank/response.rb in oschadbank-0.1.3

- old
+ new

@@ -79,10 +79,10 @@ params = @params.dup signature = params.delete('P_SIGN') valid_signature = MacBuilder.new(:response, @client.mac_key, params).build - raise InvalidSignature unless signature == valid_signature + raise InvalidSignature unless signature.downcase == valid_signature end def result_code @params['Result'].to_s end