summaryrefslogtreecommitdiff
path: root/testprogs
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2012-12-07 17:36:02 +0200
committerAndreas Schneider <asn@cryptomilk.org>2012-12-08 13:30:07 +0100
commit56d9c8c4bf29eb473f9f4e7a7ef16fc6020db6b5 (patch)
tree1d9cbd779a6e1d6e64ae558b5bc7ee98bcf86640 /testprogs
parentb4ae73f58c48b3502147332ee4c72621867fffb3 (diff)
downloadsamba-56d9c8c4bf29eb473f9f4e7a7ef16fc6020db6b5.tar.gz
samba-56d9c8c4bf29eb473f9f4e7a7ef16fc6020db6b5.tar.bz2
samba-56d9c8c4bf29eb473f9f4e7a7ef16fc6020db6b5.zip
wafsamba: Make sure md5 is really work before using it or overriding the hash function
In FIPS mode importing md5 Python module will not cause any error but calling md5.md5() function will throw ValueError since md5 is not available. Make sure md5.md5() actually works and if not, fall back to use hash replacement that we already have in wafsamba. Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Sat Dec 8 13:30:07 CET 2012 on sn-devel-104
Diffstat (limited to 'testprogs')
0 files changed, 0 insertions, 0 deletions