X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=cgi%2Flookup.c;h=632a0a8cd58dd9974c3a47e510fc4c2615d5a849;hb=b767e3e90280a1222fc4404cbd4c832342c9382d;hp=35c039bf906c8c9d59e8706e052261f9dd481cc9;hpb=3877403043acfbfa57497d3ba51a5ec2db1c77dc;p=onak.git diff --git a/cgi/lookup.c b/cgi/lookup.c index 35c039b..632a0a8 100644 --- a/cgi/lookup.c +++ b/cgi/lookup.c @@ -50,7 +50,7 @@ void find_keys(struct onak_dbctx *dbctx, char *search, uint64_t keyid, struct openpgp_fingerprint *fingerprint, bool ishex, bool isfp, bool dispfp, bool skshash, - bool exact, bool verbose, bool mrhkp) + __unused bool exact, bool verbose, bool mrhkp) { struct openpgp_publickey *publickey = NULL; int count = 0; @@ -252,7 +252,8 @@ int main(int argc, char *argv[]) result, search); puts("
");
-				cleankeys(&publickey, config.clean_policies);
+				cleankeys(dbctx, &publickey,
+						config.clean_policies);
 				flatten_publickey(publickey,
 							&packets,
 							&list_end);