diff options
author | Andreas Schneider <asn@samba.org> | 2019-12-10 18:03:57 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2019-12-10 19:06:28 +0000 |
commit | 6713617724bfe4cba633f0e61052a703c4ca9f3e (patch) | |
tree | 2003d500eb288322a696d1229e3b07442905fa81 /lib/crypto | |
parent | 337c51c9f503adef58c9b875bfb4f522cfb7d9ae (diff) | |
download | samba-6713617724bfe4cba633f0e61052a703c4ca9f3e.tar.gz |
lib:crypto: Only build AES code if we need AES CMAC
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
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 cd136165a0d..46ae5e9ba80 100644 --- a/lib/crypto/wscript_build +++ b/lib/crypto/wscript_build @@ -14,7 +14,8 @@ bld.SAMBA_SUBSYSTEM('GNUTLS_HELPERS', bld.SAMBA_SUBSYSTEM('LIBCRYPTO_AES', source='aes.c rijndael-alg-fst.c', - deps='talloc') + deps='talloc', + enabled=not bld.CONFIG_SET('HAVE_GNUTLS_AES_CMAC')) bld.SAMBA_SUBSYSTEM('LIBCRYPTO_AES_CMAC', source='aes_cmac_128.c', |