1524bc
From 9dbaac0a6d4bc0a5dfd3b08ceeab5e0e0245e090 Mon Sep 17 00:00:00 2001
1524bc
From: Andreas Schneider <asn@samba.org>
1524bc
Date: Wed, 27 Feb 2019 14:40:07 +0100
1524bc
Subject: [PATCH 118/187] waf: Check for AES128 CMAC support in GnuTLS
1524bc
1524bc
Signed-off-by: Andreas Schneider <asn@samba.org>
1524bc
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
1524bc
(cherry picked from commit 69be6b8416198cfa8e2404a0a62ce6432425adef)
1524bc
---
1524bc
 wscript_configure_system_gnutls | 5 +++++
1524bc
 1 file changed, 5 insertions(+)
1524bc
1524bc
diff --git a/wscript_configure_system_gnutls b/wscript_configure_system_gnutls
1524bc
index 68cc306e3dc..f71fd4fb97f 100644
1524bc
--- a/wscript_configure_system_gnutls
1524bc
+++ b/wscript_configure_system_gnutls
1524bc
@@ -19,3 +19,8 @@ if conf.CHECK_VALUEOF('GNUTLS_CIPHER_AES_128_CFB8', headers='gnutls/gnutls.h'):
1524bc
     conf.DEFINE('HAVE_GNUTLS_AES_CFB8', 1)
1524bc
 else:
1524bc
     Logs.warn('No gnutls support for AES CFB8')
1524bc
+
1524bc
+if conf.CHECK_VALUEOF('GNUTLS_MAC_AES_CMAC_128', headers='gnutls/gnutls.h'):
1524bc
+    conf.DEFINE('HAVE_GNUTLS_AES_CMAC', 1)
1524bc
+else:
1524bc
+    Logs.warn('No gnutls support for AES CMAC')
1524bc
-- 
1524bc
2.23.0
1524bc