Skip to content

Commit

Permalink
Don't upcase and then downcase
Browse files Browse the repository at this point in the history
  • Loading branch information
grempe committed Apr 22, 2016
1 parent 8c306d8 commit 4e1ac95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tss/util.rb
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def self.bytes_to_utf8(bytes)
# @return [String] a hex String
def self.bytes_to_hex(bytes)
hex = ''
bytes.each { |b| hex += sprintf('%02x', b).upcase }
bytes.each { |b| hex += sprintf('%02x', b) }
hex.downcase
end

Expand Down

0 comments on commit 4e1ac95

Please sign in to comment.