X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=keydb_stacked.c;h=fdbccf34160bf0da8d3074f21e499be82239fc94;hb=5d859953e393a2539e67df3ce73798e7029cf5b9;hp=c732720ebdbccdf8ba1e89a5eb01635f7ccdb80e;hpb=a04a68c405b6927a6b4fdf9682f697847036ecf7;p=onak.git diff --git a/keydb_stacked.c b/keydb_stacked.c index c732720..fdbccf3 100644 --- a/keydb_stacked.c +++ b/keydb_stacked.c @@ -20,6 +20,7 @@ #include #include +#include "cleankey.h" #include "decodekey.h" #include "hash.h" #include "keydb.h" @@ -117,6 +118,7 @@ static void store_on_fallback(struct onak_stacked_dbctx *privctx, (struct onak_dbctx *) privctx->backends->object; struct openpgp_publickey *curkey; + cleankeys(publickey); /* * 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