]> the.earth.li Git - onak.git/commitdiff
cscvs to tla changeset 118
authorJonathan McDowell <noodles@earth.li>
Mon, 31 May 2004 23:48:13 +0000 (23:48 +0000)
committerJonathan McDowell <noodles@earth.li>
Mon, 31 May 2004 23:48:13 +0000 (23:48 +0000)
Author: noodles
Date: 2004/03/23 12:35:11
Add knowledge of notation subpackets. We don't do anything with them yet
though.

decodekey.c

index fac501ea918e842e36b81ecef07eedd01d0bd99c..71723911c6981a2e18ee11697ad5927638a22dd4 100644 (file)
@@ -5,7 +5,7 @@
  *
  * Copyright 2002 Project Purple
  *
- * $Id: decodekey.c,v 1.4 2003/09/28 21:07:50 noodles Exp $
+ * $Id: decodekey.c,v 1.5 2004/03/23 12:35:11 noodles Exp $
  */
 
 #include <assert.h>
@@ -84,6 +84,12 @@ int parse_subpackets(unsigned char *data, uint64_t *keyid)
                        *keyid <<= 8;
                        *keyid += data[offset+packetlen - 1];
                        break;
+               case 20:
+                       /*
+                        * Annotation data.
+                        */
+                       break;
+
                case 23:
                        /*
                         * Key server preferences. Including no-modify.