From: Andrew Bartlett Date: Thu, 15 Aug 2019 05:28:30 +0000 (+1200) Subject: build: Remove explicit check for HAVE_GNUTLS_AEAD as we require GnuTLS 3.4.7 X-Git-Tag: tevent-0.10.1~251 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=068da56a20a2712e498fb3724407836bda2f977b;p=thirdparty%2Fsamba.git build: Remove explicit check for HAVE_GNUTLS_AEAD as we require GnuTLS 3.4.7 We strictly require it and if this were to fail we would want the compile to fail. Signed-off-by: Andrew Bartlett Reviewed-by: Andreas Schneider --- diff --git a/wscript_configure_system_gnutls b/wscript_configure_system_gnutls index 02e6567ba2f..68cc306e3dc 100644 --- a/wscript_configure_system_gnutls +++ b/wscript_configure_system_gnutls @@ -15,14 +15,6 @@ conf.SET_TARGET_TYPE('gnutls', 'SYSLIB') # Check for gnutls_pkcs7_get_embedded_data_oid (>= 3.5.5) required by libmscat conf.CHECK_FUNCS_IN('gnutls_pkcs7_get_embedded_data_oid', 'gnutls') -# Check for gnutls_aead_cipher_init (>= 3.4.0) used by encrypted_secrets -if conf.CHECK_FUNCS_IN('gnutls_aead_cipher_init', - 'gnutls', - headers='gnutls/gnutls.h'): - conf.DEFINE('HAVE_GNUTLS_AEAD', '1') -else: - Logs.warn('No gnutls support for AEAD encryption') - if conf.CHECK_VALUEOF('GNUTLS_CIPHER_AES_128_CFB8', headers='gnutls/gnutls.h'): conf.DEFINE('HAVE_GNUTLS_AES_CFB8', 1) else: