mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
acd081a70d
I can not find the code that required this, even in the history. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Fri Jun 30 14:59:46 UTC 2023 on atb-devel-224
45 lines
1.5 KiB
Python
45 lines
1.5 KiB
Python
#!/usr/bin/env python
|
|
from waflib import Errors, Logs
|
|
|
|
|
|
def build(bld):
|
|
extra_deps = ""
|
|
|
|
bld.SAMBA_SUBSYSTEM("GNUTLS_HELPERS",
|
|
source='''
|
|
gnutls_error.c
|
|
gnutls_aead_aes_256_cbc_hmac_sha512.c
|
|
gnutls_arcfour_confounded_md5.c
|
|
gnutls_weak_crypto.c
|
|
''',
|
|
deps="gnutls samba-errors")
|
|
|
|
bld.SAMBA_SUBSYSTEM('LIBCRYPTO',
|
|
source='''
|
|
md4.c
|
|
''',
|
|
deps='''
|
|
talloc
|
|
''')
|
|
|
|
bld.SAMBA_SUBSYSTEM('TORTURE_LIBCRYPTO',
|
|
source='md4test.c',
|
|
autoproto='test_proto.h',
|
|
deps='''
|
|
LIBCRYPTO
|
|
''')
|
|
|
|
bld.SAMBA_PYTHON('python_crypto',
|
|
source='py_crypto.c',
|
|
deps='gnutls talloc LIBCLI_AUTH',
|
|
realname='samba/crypto.so')
|
|
|
|
bld.SAMBA_BINARY('test_gnutls_aead_aes_256_cbc_hmac_sha512',
|
|
source='''
|
|
gnutls_error.c
|
|
tests/test_gnutls_aead_aes_256_cbc_hmac_sha512.c
|
|
''',
|
|
deps='cmocka gnutls samba-util samba-errors',
|
|
local_include=False,
|
|
for_selftest=True)
|