mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
07844a9a13
We already rely on gnutls in order to implement SSL/TLS, so using that to speed up crypto like aes gcm 128 is fine, but as we already have code for that algorithm, we should use that instead of adding a new dependency to libnettle. Some (I guess newer versions) of gnutls use nettle internally, so we may end up using that code, but we should not have a direct dependency. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13276 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
46 lines
1.1 KiB
Python
46 lines
1.1 KiB
Python
#!/usr/bin/env python
|
|
|
|
bld.SAMBA_LIBRARY('dsdb-module',
|
|
source=[],
|
|
deps='DSDB_MODULE_HELPERS DSDB_MODULE_HELPER_RIDALLOC',
|
|
private_library=True,
|
|
grouping_library=True)
|
|
|
|
bld.SAMBA_SUBSYSTEM('DSDB_MODULE_HELPERS',
|
|
source='util.c acl_util.c schema_util.c netlogon.c',
|
|
autoproto='util_proto.h',
|
|
deps='ldb ndr samdb-common samba-security'
|
|
)
|
|
|
|
bld.SAMBA_SUBSYSTEM('DSDB_MODULE_HELPER_RIDALLOC',
|
|
source='ridalloc.c',
|
|
autoproto='ridalloc.h',
|
|
deps='MESSAGING',
|
|
)
|
|
|
|
# Build the cmocka unit tests
|
|
bld.SAMBA_BINARY('test_unique_object_sids',
|
|
source='tests/test_unique_object_sids.c',
|
|
deps='''
|
|
talloc
|
|
samdb
|
|
cmocka
|
|
DSDB_MODULE_HELPERS
|
|
''',
|
|
install=False)
|
|
bld.SAMBA_BINARY('test_encrypted_secrets',
|
|
source='tests/test_encrypted_secrets.c',
|
|
deps='''
|
|
talloc
|
|
samba-util
|
|
samdb-common
|
|
samdb
|
|
cmocka
|
|
gnutls
|
|
DSDB_MODULE_HELPERS
|
|
''',
|
|
install=False)
|
|
|
|
if bld.AD_DC_BUILD_IS_ENABLED():
|
|
bld.PROCESS_SEPARATE_RULE("server")
|