Welcome to the "trac"-ing site of openpgp4u!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

Changeset 31

Show
Ignore:
Timestamp:
11/06/04 13:43:23 (4 years ago)
Author:
nahi
Message:

* Partial Body Lengths packet support for scanner, too.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/pgp/packet/sigsubpacket/packet.rb

    r29 r31  
    122122 
    123123  def self.scan(port, io) 
    124     length = load_length_new(port) 
     124    length, partial = load_length_new(port) 
     125    if partial 
     126      raise "Partial Body Lengths not allowed" 
     127    end 
    125128    type = load_type(port) 
    126129    critical = (type & T_CRITICAL).nonzero?