summaryrefslogtreecommitdiff
path: root/wscript_configure_system_gnutls
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2019-03-01 17:35:02 +0100
committerAndreas Schneider <asn@cryptomilk.org>2019-08-21 09:57:29 +0000
commit20a42459df4fdd57cdf1807a3d97dc5b1c553476 (patch)
tree84e57fc86dc6974366c197a112c0206ab4b277ac /wscript_configure_system_gnutls
parentd46e538d52433f5f30a5696e5b18bc4b82101951 (diff)
downloadsamba-20a42459df4fdd57cdf1807a3d97dc5b1c553476.tar.gz
waf: Check for GNUTLS AES CFB support
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'wscript_configure_system_gnutls')
-rw-r--r--wscript_configure_system_gnutls6
1 files changed, 6 insertions, 0 deletions
diff --git a/wscript_configure_system_gnutls b/wscript_configure_system_gnutls
index cc9a2b035a2..85824aad4ed 100644
--- a/wscript_configure_system_gnutls
+++ b/wscript_configure_system_gnutls
@@ -36,3 +36,9 @@ if conf.CHECK_FUNCS_IN('gnutls_aead_cipher_init',
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)
+ conf.DEFINE('HAVE_GNUTLS_3_4_7', 1)
+else:
+ Logs.warn('No gnutls support for AES CFB8')