diff options
author | Jay Berkenbilt <ejb@ql.org> | 2019-11-05 20:32:28 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2019-11-09 15:53:38 +0100 |
commit | 88bedb41fe82df312d62e364a5a216b62fc8807c (patch) | |
tree | 5ca03a77196d780f4b2d39d93ab1b03e9dd1eeee /libqpdf/build.mk | |
parent | cc14523440c99ff970e9a002f600133deab4b5dd (diff) | |
download | qpdf-88bedb41fe82df312d62e364a5a216b62fc8807c.tar.zst |
Implement gnutls crypto provider (fixes #218)
Thanks to Zdenek Dohnal <zdohnal@redhat.com> for contributing the code
used for the gnutls crypto provider.
Diffstat (limited to 'libqpdf/build.mk')
-rw-r--r-- | libqpdf/build.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libqpdf/build.mk b/libqpdf/build.mk index 7e5f4aa3..ac904174 100644 --- a/libqpdf/build.mk +++ b/libqpdf/build.mk @@ -14,6 +14,9 @@ CRYPTO_NATIVE = \ libqpdf/sha2.c \ libqpdf/sha2big.c +CRYPTO_GNUTLS = \ + libqpdf/QPDFCrypto_gnutls.cc + SRCS_libqpdf = \ libqpdf/BitStream.cc \ libqpdf/BitWriter.cc \ @@ -94,6 +97,10 @@ ifeq ($(USE_CRYPTO_NATIVE), 1) SRCS_libqpdf += $(CRYPTO_NATIVE) endif +ifeq ($(USE_CRYPTO_GNUTLS), 1) +SRCS_libqpdf += $(CRYPTO_GNUTLS) +endif + # ----- CCSRCS_libqpdf = $(filter %.cc,$(SRCS_libqpdf)) |