diff options
author | Andreas Schneider <asn@samba.org> | 2019-12-10 18:06:29 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2019-12-10 20:30:57 +0000 |
commit | 20b9cae63d5a5881cc6100a2533fab683cc307aa (patch) | |
tree | 474c504d02ca098763d49782fd736520d78303c4 /lib/crypto | |
parent | 6713617724bfe4cba633f0e61052a703c4ca9f3e (diff) | |
download | samba-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 'lib/crypto')
-rw-r--r-- | lib/crypto/wscript_build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/crypto/wscript_build b/lib/crypto/wscript_build index 46ae5e9ba80..eb67af63f26 100644 --- a/lib/crypto/wscript_build +++ b/lib/crypto/wscript_build @@ -2,7 +2,8 @@ extra_deps = '' -if bld.CONFIG_SET("HAVE_AESNI_INTEL"): +if (bld.CONFIG_SET("HAVE_AESNI_INTEL") and + not bld.CONFIG_SET('HAVE_GNUTLS_AES_CMAC')): extra_deps += ' aesni-intel' bld.SAMBA_SUBSYSTEM('GNUTLS_HELPERS', |