[Pkg-sks-commit] r109 - sks/trunk/sks/debian/patches
chrism at alioth.debian.org
chrism at alioth.debian.org
Thu Jun 19 14:59:47 UTC 2008
Author: chrism
Date: 2008-06-19 14:59:45 +0000 (Thu, 19 Jun 2008)
New Revision: 109
Added:
sks/trunk/sks/debian/patches/103_recognize_critical
Log:
[project @ 110]
Recognize the critical bit in subkey packet types. This means we now are able to show signature expiration dates and stuff
Original author: weasel
Date: 2004-01-22 11:15:17.816748+00:00
Added: sks/trunk/sks/debian/patches/103_recognize_critical
===================================================================
--- sks/trunk/sks/debian/patches/103_recognize_critical (rev 0)
+++ sks/trunk/sks/debian/patches/103_recognize_critical 2008-06-19 14:59:45 UTC (rev 109)
@@ -0,0 +1,14 @@
+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;
More information about the Pkg-sks-commit
mailing list