summaryrefslogtreecommitdiff
path: root/wscript_configure_system_gnutls
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2019-08-23 08:40:00 +0200
committerAndreas Schneider <asn@cryptomilk.org>2019-10-08 12:50:38 +0000
commitfa255a36df87e41717d9630ea96ac9439e186062 (patch)
tree39ef725eb8ce2f0e2fa23a6736964be75eece26c /wscript_configure_system_gnutls
parent5a084994144704a6c146b94f8a22cf57ce08deab (diff)
downloadsamba-fa255a36df87e41717d9630ea96ac9439e186062.tar.gz
waf: Check for gnutls_aead_cipher_encryptv2()
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Simo Sorce <idra@samba.org>
Diffstat (limited to 'wscript_configure_system_gnutls')
-rw-r--r--wscript_configure_system_gnutls3
1 files changed, 3 insertions, 0 deletions
diff --git a/wscript_configure_system_gnutls b/wscript_configure_system_gnutls
index f71fd4fb97f..f6d9ac3c65e 100644
--- a/wscript_configure_system_gnutls
+++ b/wscript_configure_system_gnutls
@@ -15,6 +15,9 @@ 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_encryptv2 (>= 3.6.10)
+conf.CHECK_FUNCS_IN('gnutls_aead_cipher_encryptv2', 'gnutls')
+
if conf.CHECK_VALUEOF('GNUTLS_CIPHER_AES_128_CFB8', headers='gnutls/gnutls.h'):
conf.DEFINE('HAVE_GNUTLS_AES_CFB8', 1)
else: