X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;f=keydb.c;h=a9e4cef30bd9907349ee82025016ab26ce6a3162;hb=8e58a1769ce5e492dd68904dfc81b6e077fc2a3a;hp=2547b6b090cc8302b2378fa3805be637b686debd;hpb=4b8483ae278577a3adc8d84da81d77019704466f;p=onak.git diff --git a/keydb.c b/keydb.c index 2547b6b..a9e4cef 100644 --- a/keydb.c +++ b/keydb.c @@ -23,6 +23,7 @@ #include "mem.h" #include "parsekey.h" +#ifdef NEED_KEYID2UID /** * keyid2uid - Takes a keyid and returns the primary UID for it. * @keyid: The keyid to lookup. @@ -53,7 +54,9 @@ char *keyid2uid(uint64_t keyid) return buf; } } +#endif +#ifdef NEED_GETKEYSIGS /** * getkeysigs - Gets a linked list of the signatures on a key. * @keyid: The keyid to get the sigs for. @@ -75,6 +78,7 @@ struct ll *getkeysigs(uint64_t keyid) } free_publickey(publickey); } - + return sigs; } +#endif