X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;f=keydb_stacked.c;h=59c988da9172f0cd862df64a251fde0fc03541a0;hb=a799cc2909f47d918d1ec7171a9edba28a9f5136;hp=fdd05b1e4411795d1dd7b346f352ff22bd2fc4db;hpb=409ce1e3784064ab8f2786a9600a30809c502a46;p=onak.git
diff --git a/keydb_stacked.c b/keydb_stacked.c
index fdd05b1..59c988d 100644
--- a/keydb_stacked.c
+++ b/keydb_stacked.c
@@ -13,26 +13,21 @@
* more details.
*
* You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ * this program. If not, see .
*/
+#include
+#include
#include
+#include
#include
#include "cleankey.h"
-#include "decodekey.h"
-#include "hash.h"
#include "keydb.h"
-#include "keyid.h"
#include "keystructs.h"
+#include "ll.h"
#include "log.h"
-#include "mem.h"
-#include "merge.h"
#include "onak-conf.h"
-#include "openpgp.h"
-#include "parsekey.h"
-#include "sendsync.h"
struct onak_stacked_dbctx {
struct ll *backends;
@@ -118,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