]> git.ipfire.org Git - thirdparty/samba.git/commit
buildtools: fixed broken build with FIPS-enabled host
authorShachar Sharon <ssharon@redhat.com>
Thu, 7 Aug 2025 13:42:07 +0000 (16:42 +0300)
committerAnoop C S <anoopcs@samba.org>
Tue, 16 Sep 2025 16:44:31 +0000 (16:44 +0000)
commit52d5d4ddcd014f5095ceedf34c660338dc4a8914
tree2e304cc66a44c220b19800d96b272db0c4509d25
parent1ec54347acac241f900b52c16c2dcba04164e898
buildtools: fixed broken build with FIPS-enabled host

MD5 is not supported on FIPS-enabled machines, but the current
work-around is broken. One the other hand, latest Waf has proper
fixup (use sha1 as a replacement to md5) so there is no need for Samba
specific code.

Tested on CentOS-stream-9 with FIPS (Python-3.9.23).

Signed-off-by: Shachar Sharon <ssharon@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
buildtools/wafsamba/samba_utils.py