X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/d1e174344cb2d8d3681cd3c3d6dfe0c70d60da20..1a72b8d85895fc9ffba0d8f6a9240634ce6ee8dc:/decodekey.c?ds=sidebyside diff --git a/decodekey.c b/decodekey.c index 3a6e075..606b091 100644 --- a/decodekey.c +++ b/decodekey.c @@ -1,9 +1,7 @@ /* * decodekey.c - Routines to further decode an OpenPGP key. * - * Jonathan McDowell - * - * Copyright 2002 Project Purple + * Copyright 2002-2008 Jonathan McDowell */ #include @@ -75,6 +73,11 @@ int parse_subpackets(unsigned char *data, uint64_t *keyid, time_t *creation) * Signature expiration time. Might want to output this? */ break; + case 6: + /* + * Regular expression for UIDs this sig is over. + */ + break; case 16: if (keyid != NULL) { *keyid = data[offset+packetlen - 8]; @@ -110,6 +113,11 @@ int parse_subpackets(unsigned char *data, uint64_t *keyid, time_t *creation) * Primary UID. */ break; + case 26: + /* + * Policy URI. + */ + break; default: /* * We don't care about unrecognized packets unless bit