Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

store hash_head unpacked

  • Loading branch information...
commit 54b92258cf7f2c42c3954b22552a5b070658a4c4 1 parent cc5c9d6
@singpolyma authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/openpgp/packet.rb
View
2  lib/openpgp/packet.rb
@@ -265,7 +265,7 @@ def read_v4_signature(body)
unhashed_count = body.read_number(2)
unhashed_data = body.read_bytes(unhashed_count)
@unhashed_subpackets = read_subpackets(Buffer.new(unhashed_data))
- @hash_head = body.read_bytes(2)
+ @hash_head = body.read_bytes(2).unpack('n').first
read_signature(body)
self
end
Please sign in to comment.
Something went wrong with that request. Please try again.