+
+ needother = policies & ONAK_CLEAN_NEED_OTHER_SIG;
+ if (needother) {
+ /*
+ * Check if we already have the key; if we do
+ * then we can skip the check to make sure we
+ * have signatures from other keys.
+ */
+ get_fingerprint((*curkey)->publickey, &fp);
+ tmp = NULL;
+ needother = dbctx->fetch_key(dbctx, &fp,
+ &tmp, false) == 0;
+ free_publickey(tmp);
+ }
+