summaryrefslogtreecommitdiffstats
path: root/src/resolve/meson.build
diff options
context:
space:
mode:
authorKevin Kuehler <kevin@segfault.fun>2020-12-11 01:08:26 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-11-30 23:00:21 +0100
commit0351cbb9e4812fcad694f506800fbadc5182b3f8 (patch)
treec67b9309d93fdcf1b6429cb6ba4dba27e6733997 /src/resolve/meson.build
parentresolved: split out function to hash signature (diff)
downloadsystemd-0351cbb9e4812fcad694f506800fbadc5182b3f8.tar.xz
systemd-0351cbb9e4812fcad694f506800fbadc5182b3f8.zip
resolve: Port dnssec verify from gcrypt to openssl^gcrypt
Co-authored-by: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Diffstat (limited to 'src/resolve/meson.build')
-rw-r--r--src/resolve/meson.build24
1 files changed, 16 insertions, 8 deletions
diff --git a/src/resolve/meson.build b/src/resolve/meson.build
index c7cb88ac04..d4534cb4a9 100644
--- a/src/resolve/meson.build
+++ b/src/resolve/meson.build
@@ -176,14 +176,16 @@ tests += [
[['src/resolve/test-resolve-tables.c'],
[libsystemd_resolve_core,
libshared],
- [libgcrypt,
+ [lib_openssl_or_gcrypt,
+ libgcrypt,
libgpg_error,
libm]],
[['src/resolve/test-dns-packet.c'],
[libsystemd_resolve_core,
libshared],
- [libgcrypt,
+ [lib_openssl_or_gcrypt,
+ libgcrypt,
libgpg_error,
libm]],
@@ -192,28 +194,33 @@ tests += [
'src/resolve/resolved-etc-hosts.h'],
[libsystemd_resolve_core,
libshared],
- [libgcrypt,
+ [lib_openssl_or_gcrypt,
+ libgcrypt,
libgpg_error,
libm]],
[['src/resolve/test-resolved-packet.c'],
[libsystemd_resolve_core,
libshared],
- [libgcrypt,
+ [lib_openssl_or_gcrypt,
+ libgcrypt,
libgpg_error,
libm]],
[['src/resolve/test-dnssec.c'],
[libsystemd_resolve_core,
libshared],
- [libgcrypt,
+ [lib_openssl_or_gcrypt,
+ libgcrypt,
libgpg_error,
- libm]],
+ libm],
+ [], 'HAVE_OPENSSL_OR_GCRYPT'],
[['src/resolve/test-dnssec-complex.c'],
[libsystemd_resolve_core,
libshared],
- [libgcrypt,
+ [lib_openssl_or_gcrypt,
+ libgcrypt,
libgpg_error,
libm],
[], '', 'manual'],
@@ -223,7 +230,8 @@ fuzzers += [
[['src/resolve/fuzz-dns-packet.c'],
[libsystemd_resolve_core,
libshared],
- [libgcrypt,
+ [lib_openssl_or_gcrypt,
+ libgcrypt,
libgpg_error,
libm]],
]