]> the.earth.li Git - onak.git/blobdiff - cleankey.c
Error out if there's any problem setting up the keyd socket
[onak.git] / cleankey.c
index 52d482a486dac01eed5adab5b84f150f7a0ca222..55e3161d0d87bb35ebb7d6be2826c919a6571fff 100644 (file)
@@ -255,7 +255,8 @@ int clean_large_packets(struct openpgp_publickey *key)
  *     made, otherwise the number of keys cleaned. Note that some options
  *     may result in keys being removed entirely from the list.
  */
-int cleankeys(struct openpgp_publickey **keys, uint64_t policies)
+int cleankeys(struct onak_dbctx *dbctx, struct openpgp_publickey **keys,
+               uint64_t policies)
 {
        struct openpgp_publickey **curkey, *tmp;
        int changed = 0, count = 0;