Permalink
Browse files

* features sub packet has N octets, not fixed to 3 octets.

  • Loading branch information...
1 parent 5dcf610 commit cd8c609989e60bf602a74ead281bb391b8b015ee @nahi committed Oct 30, 2004
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/pgp/packet/sigsubpacket/features.rb
@@ -38,7 +38,7 @@ def dump_body
def self.loader(port, length)
flags = load_1octet(port)
- port.read(3) # TBD: ignore
+ port.read(length - 1) # TBD: ignore
new(flags)
end

0 comments on commit cd8c609

Please sign in to comment.