From 914d41c26e8783c6b4fc1372dfb7f09623a774c2 Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Tue, 16 Jan 2018 13:02:57 +0100 Subject: [PATCH] s4: allow building without AES-GCM if configured --without-ad-dc --- source4/dsdb/samdb/ldb_modules/wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/dsdb/samdb/ldb_modules/wscript b/source4/dsdb/samdb/ldb_modules/wscript index e2f2cda..0f89ec9 100644 --- a/source4/dsdb/samdb/ldb_modules/wscript +++ b/source4/dsdb/samdb/ldb_modules/wscript @@ -39,7 +39,7 @@ def configure(conf): else: Logs.warn('No gnutls support for AEAD encryption') - if not conf.env.HAVE_GNUTLS_AEAD and not conf.env.HAVE_NETTLE_AES_GCM: + if conf.CONFIG_SET('AD_DC_BUILD_IS_ENABLED') and not conf.env.HAVE_GNUTLS_AEAD and not conf.env.HAVE_NETTLE_AES_GCM: conf.fatal("No AES GCM AEAD support" "Try installing gnutls if that does not support AEAD " "try installing nettle-dev or nettle-devel") -- 1.9.1