From c7293a4d125c4675c86ecdee0f2f3186fc4bdaf7 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 1 Oct 2019 20:09:42 +0200 Subject: kbx: Add first version of STORE command to keyboxd. * kbx/Makefile.am (keyboxd_CFLAGS): -DKEYBOX_WITH_X509. (keyboxd_LDADD): Add libksba. * kbx/kbxserver.c (cmd_store): New. * kbx/frontend.c (kbxd_store): New. * kbx/backend-support.c (is_x509_blob): New. (be_fingerprint_from_blob): New. * kbx/backend-kbx.c (be_kbx_seek): Add args FPR and FPRLEN. (be_kbx_insert): New. Signed-off-by: Werner Koch --- kbx/keybox-openpgp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kbx/keybox-openpgp.c') diff --git a/kbx/keybox-openpgp.c b/kbx/keybox-openpgp.c index 7a35475ca..0835909e6 100644 --- a/kbx/keybox-openpgp.c +++ b/kbx/keybox-openpgp.c @@ -667,7 +667,7 @@ _keybox_destroy_openpgp_info (keybox_openpgp_info_t info) struct _keybox_openpgp_key_info *k, *k2; struct _keybox_openpgp_uid_info *u, *u2; - assert (!info->primary.next); + log_assert (!info->primary.next); for (k=info->subkeys.next; k; k = k2) { k2 = k->next; -- cgit