sks-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sks-devel] expiration date now shown


From: Peter Palfrader
Subject: Re: [Sks-devel] expiration date now shown
Date: Fri, 23 Jan 2004 01:21:59 +0100
User-agent: Mutt/1.5.5.1+cvs20040105i

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
-- 
 PGP signed and encrypted  |  .''`.  ** Debian GNU/Linux **
    messages preferred.    | : :' :      The  universal
                           | `. `'      Operating System
 http://www.palfrader.org/ |   `-    http://www.debian.org/

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]