* @intrans: If we're already in a transaction.
*
* We don't support removing keys from a keyring file.
*/
static int keyring_delete_key(struct onak_dbctx *dbctx,
* @intrans: If we're already in a transaction.
*
* We don't support removing keys from a keyring file.
*/
static int keyring_delete_key(struct onak_dbctx *dbctx,
- struct openpgp_publickey **keys, bool sendsync)
+ struct openpgp_publickey **keys,
+ struct keyarray *blacklist,
+ bool sendsync)
* Walk the keyring file, noting the start of each public key and the
* total length of packets associated with it.
*/
* Walk the keyring file, noting the start of each public key and the
* total length of packets associated with it.
*/
while (((privctx->length - pos) > 5) && (privctx->file[pos] & 0x80)) {
if (privctx->file[pos] & 0x40) {
tag = privctx->file[pos] & 0x3F;
while (((privctx->length - pos) > 5) && (privctx->file[pos] & 0x80)) {
if (privctx->file[pos] & 0x40) {
tag = privctx->file[pos] & 0x3F;
dbctx->getkeysigs = generic_getkeysigs;
dbctx->cached_getkeysigs = generic_cached_getkeysigs;
dbctx->keyid2uid = generic_keyid2uid;
dbctx->getkeysigs = generic_getkeysigs;
dbctx->cached_getkeysigs = generic_cached_getkeysigs;
dbctx->keyid2uid = generic_keyid2uid;