summaryrefslogtreecommitdiffstats
path: root/kbx/Makefile.am
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2019-10-01 20:09:42 +0200
committerWerner Koch <wk@gnupg.org>2019-10-01 20:09:42 +0200
commitc7293a4d125c4675c86ecdee0f2f3186fc4bdaf7 (patch)
treebbbc1122eda0eda3703efd60129570f13d52fd09 /kbx/Makefile.am
parentcommon: New function hex2fixedbuf. (diff)
downloadgnupg2-c7293a4d125c4675c86ecdee0f2f3186fc4bdaf7.tar.xz
gnupg2-c7293a4d125c4675c86ecdee0f2f3186fc4bdaf7.zip
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 <wk@gnupg.org>
Diffstat (limited to 'kbx/Makefile.am')
-rw-r--r--kbx/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/kbx/Makefile.am b/kbx/Makefile.am
index 42c3c4be8..9f8f7953d 100644
--- a/kbx/Makefile.am
+++ b/kbx/Makefile.am
@@ -81,10 +81,10 @@ keyboxd_SOURCES = \
backend-kbx.c \
$(common_sources)
-keyboxd_CFLAGS = $(AM_CFLAGS) $(LIBASSUAN_CFLAGS) $(NPTH_CFLAGS) \
- $(INCICONV)
+keyboxd_CFLAGS = $(AM_CFLAGS) -DKEYBOX_WITH_X509=1 \
+ $(LIBASSUAN_CFLAGS) $(NPTH_CFLAGS) $(INCICONV)
keyboxd_LDADD = $(commonpth_libs) \
- $(LIBGCRYPT_LIBS) $(LIBASSUAN_LIBS) $(NPTH_LIBS) \
+ $(KSBA_LIBS) $(LIBGCRYPT_LIBS) $(LIBASSUAN_LIBS) $(NPTH_LIBS) \
$(GPG_ERROR_LIBS) $(LIBINTL) $(NETLIBS) $(LIBICONV) \
$(resource_objs)
keyboxd_LDFLAGS = $(extra_bin_ldflags)