]> the.earth.li Git - onak.git/blobdiff - keydb_stacked.c
Use a set of policy flags to indicate what key cleaning to perform
[onak.git] / keydb_stacked.c
index 06ee7098bb08f6d58a90f90e69e878296a9eb77f..59c988da9172f0cd862df64a251fde0fc03541a0 100644 (file)
@@ -113,7 +113,7 @@ static void store_on_fallback(struct onak_stacked_dbctx *privctx,
                        (struct onak_dbctx *) privctx->backends->object;
        struct openpgp_publickey *curkey;
 
-       cleankeys(publickey);
+       cleankeys(&publickey, config.clean_policies);
        /*
         * If we walked the stack at all, store the key in the first
         * backend if configured to do so. It's not an update as we