]> the.earth.li Git - onak.git/blobdiff - cgi/lookup.c
Switch from Travis CI to GitHub Actions
[onak.git] / cgi / lookup.c
index 35c039bf906c8c9d59e8706e052261f9dd481cc9..632a0a8cd58dd9974c3a47e510fc4c2615d5a849 100644 (file)
@@ -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("<pre>");
-                               cleankeys(&publickey, config.clean_policies);
+                               cleankeys(dbctx, &publickey,
+                                               config.clean_policies);
                                flatten_publickey(publickey,
                                                        &packets,
                                                        &list_end);