summaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2019-12-10 18:06:29 +0100
committerAndreas Schneider <asn@cryptomilk.org>2019-12-10 20:30:57 +0000
commit20b9cae63d5a5881cc6100a2533fab683cc307aa (patch)
tree474c504d02ca098763d49782fd736520d78303c4 /third_party
parent6713617724bfe4cba633f0e61052a703c4ca9f3e (diff)
downloadsamba-20b9cae63d5a5881cc6100a2533fab683cc307aa.tar.gz
lib:crypto: Build intel aes-ni only if GnuTLS doesn't provide AES CMAC
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Tue Dec 10 20:30:57 UTC 2019 on sn-devel-184
Diffstat (limited to 'third_party')
-rw-r--r--third_party/aesni-intel/wscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/third_party/aesni-intel/wscript b/third_party/aesni-intel/wscript
index 955b5162140..382b3c6a7ff 100644
--- a/third_party/aesni-intel/wscript
+++ b/third_party/aesni-intel/wscript
@@ -21,7 +21,8 @@ def configure(conf):
raise Errors.WafError('--accel-aes=intelaesni selected and linker rejects -z noexecstack')
def build(bld):
- if not bld.CONFIG_SET('HAVE_AESNI_INTEL'):
+ if (not bld.CONFIG_SET('HAVE_AESNI_INTEL') or
+ bld.CONFIG_SET('HAVE_GNUTLS_AES_CMAC')):
return
bld.SAMBA_LIBRARY('aesni-intel',