]> the.earth.li Git - onak.git/blobdiff - keydb/keydb_stacked.c
Pass a keydb context into cleankeys in preparation for signature checks
[onak.git] / keydb / keydb_stacked.c
index 7e997d99d08cf784bc48e29e7f5d4f67fb502ebc..6cfb1f76eed1b073a84b2926337ad7820b41a2b2 100644 (file)
@@ -118,7 +118,7 @@ static void store_on_fallback(struct onak_stacked_dbctx *privctx,
                        (struct onak_dbctx *) privctx->backends->object;
        struct openpgp_publickey *curkey;
 
-       cleankeys(&publickey, config.clean_policies);
+       cleankeys(backend, &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