diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2021-06-25 18:32:14 +0100 |
---|---|---|
committer | Daniel P. Berrangé <berrange@redhat.com> | 2021-07-14 14:15:52 +0100 |
commit | 9a85ca050aa4e7624615e9ae95cf54d5640c6804 (patch) | |
tree | c2760c25e45607c5b0052a90e2e708252ade72e0 /crypto/meson.build | |
parent | 3d2b61ffcd4a5a8f5bfcdb2be5eac1a37f5caaa1 (diff) |
crypto: add gnutls hash provider
This adds support for using gnutls as a provider of the crypto
hash APIs.
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'crypto/meson.build')
-rw-r--r-- | crypto/meson.build | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/meson.build b/crypto/meson.build index f3bab7c067..e2f25810fc 100644 --- a/crypto/meson.build +++ b/crypto/meson.build @@ -28,6 +28,8 @@ if nettle.found() endif elif gcrypt.found() crypto_ss.add(gcrypt, files('hash-gcrypt.c', 'hmac-gcrypt.c', 'pbkdf-gcrypt.c')) +elif gnutls_crypto.found() + crypto_ss.add(gnutls, files('hash-gnutls.c', 'hmac-glib.c', 'pbkdf-stub.c') else crypto_ss.add(files('hash-glib.c', 'hmac-glib.c', 'pbkdf-stub.c')) endif |