[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sks-devel] expiration date now shown
From: |
Yaron M. Minsky |
Subject: |
Re: [Sks-devel] expiration date now shown |
Date: |
Thu, 22 Jan 2004 21:16:38 -0500 |
Got it. I'll apply the patch.
y
On Thu, 2004-01-22 at 19:21, Peter Palfrader wrote:
> On Thu, 22 Jan 2004, Yaron Minsky wrote:
>
> > Is this the full patch? It doesn't look like that could be it, since I
> > don't see the update to the type. I'd be happy to add the full patch to
> > CVS.
>
> It is. All it does it and off bit 7 from the ssp_type. It also adds a
> ssp_critical variable which is not used at all, but may be interesting
> at a later time.
>
> > > diff -ruN sks-1.0.6-old/parsePGP.ml sks-1.0.6/parsePGP.ml
> > > --- sks-1.0.6-old/parsePGP.ml Sun Oct 12 22:20:19 2003
> > > +++ sks-1.0.6/parsePGP.ml Thu Jan 22 12:07:56 2004
> > > @@ -159,7 +159,9 @@
> > >
> > > let read_sigsubpacket cin =
> > > let length = parse_sigsubpacket_length cin in
> > > - let ssp_type = cin#read_byte in
> > > + let ssp_type_byte = cin#read_byte in
> > > + let ssp_type = ssp_type_byte land 0x7f in
> > > + let ssp_critical = ssp_type_byte lor 0x80 in
> > > let body = cin#read_string (length - 1) in
> > > { ssp_length = length - 1;
> > > ssp_type = ssp_type;
> > >
>
> Peter
--
|--------/ Yaron M. Minsky \--------|
|--------\ http://www.cs.cornell.edu/home/yminsky/ /--------|
Open PGP --- KeyID B1FFD916
Fingerprint: 5BF6 83E1 0CE3 1043 95D8 F8D5 9F12 B3A9 B1FF D916