samba/SOURCES/0118-waf-Check-for-AES128-CMAC-support-in-GnuTLS.patch
2021-10-08 16:37:00 +00:00

29 lines
1.0 KiB
Diff

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