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

Changeset 36

Show
Ignore:
Timestamp:
12/13/04 22:51:54 (4 years ago)
Author:
nahi
Message:

wrongly dumped signature expiration time and key expiration time. fixes #2.

Files:

Legend:

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

    r18 r36  
    2929 
    3030  def time=(time) 
    31     @time = Time.at(time.to_i) 
     31    @time = time.to_i 
    3232  end 
    3333 
    3434  def scan(io) 
    3535    super 
    36     io.puts "Time - #{@time}
     36    io.puts "Time - #{@time / 3600 / 24} days (#{@time} secs)
    3737  end 
    3838 
  • trunk/lib/pgp/packet/sigsubpacket/keyexpirationtime.rb

    r18 r36  
    3131 
    3232  def time=(time) 
    33     @time = Time.at(time.to_i) 
     33    @time = time.to_i 
    3434  end 
    3535 
    3636  def scan(io) 
    3737    super 
    38     io.puts "Time - #{@time}
     38    io.puts "Time - #{@time / 3600 / 24} days (#{@time} secs)
    3939  end 
    4040