1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/lib/crypto
Emmanuel Dreyfus d5065ed2f4 Prevent clashes between system and Samba SHA functions
Samba provides its own set of SHA function, which would replace
libc-provided flavors. This is a problem because while the prototypes
are the same, the context structure are different. As a result,
when connecting to a LDAP/SSL directory, we go through
libldap/libssl/libcrypto and there libcrypto expects to call libc
SHA functions, not Samba's.

The fix is to check for SHA function presence and rename Samba's
version to avoid a clash.

Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Simo <simo@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Jun  3 01:54:24 CEST 2015 on sn-devel-104
2015-06-03 01:54:23 +02:00
..
aes_ccm_128.c crypto/aes_ccm_128: fix compile warning on openindiana 2012-08-23 16:43:48 +02:00
aes_ccm_128.h lib/crypto: add aes_ccm_128 2012-07-23 18:19:36 +02:00
aes_cmac_128_test.c lib/crypto: add aes_cmac_128_test.c as local.crypto.aes_cmac_128 test 2012-02-29 03:16:22 +01:00
aes_cmac_128.c lib/crypto: add aes_cmac_128* (rfc 4493) 2012-02-29 03:16:22 +01:00
aes_cmac_128.h lib/crypto: add aes_cmac_128* (rfc 4493) 2012-02-29 03:16:22 +01:00
aes_gcm_128_test.c lib/crypto: add aes_gcm_128 support. 2014-10-16 19:30:04 +02:00
aes_gcm_128.c lib/crypto: add aes_gcm_128 support. 2014-10-16 19:30:04 +02:00
aes_gcm_128.h lib/crypto: add aes_gcm_128 support. 2014-10-16 19:30:04 +02:00
aes.c
aes.h
arcfour.c
arcfour.h
crc32.c
crc32.h
crypto.h lib/crypto: fix header guard for crypto.h 2015-03-23 16:04:19 +01:00
hmacmd5.c build: Build with system md5.h on OpenIndiana 2013-06-19 21:32:36 +02:00
hmacmd5.h build: Build with system md5.h on OpenIndiana 2013-06-19 21:32:36 +02:00
hmacmd5test.c
hmacsha256.c
hmacsha256.h lib/crypto: fix hmac_sha256_final() prototype 2012-02-27 12:51:33 +01:00
md4.c
md4.h
md4test.c
md5.c lib: Fix strict-aliasing warning in md5 code. 2014-01-09 20:42:54 +01:00
md5.h crypto: fix build on OS X 2014-01-08 08:12:29 +01:00
md5test.c build: Build with system md5.h on OpenIndiana 2013-06-19 21:32:36 +02:00
REQUIREMENTS lib/crypto: Document nettle supported crypto 2015-02-25 01:08:12 +01:00
rijndael-alg-fst.c
rijndael-alg-fst.h
sha256.c
sha256.h Prevent clashes between system and Samba SHA functions 2015-06-03 01:54:23 +02:00
sha512.c lib/crypto: add and build a copied version of SHA512 functions. 2014-10-14 10:52:04 +02:00
sha512.h Prevent clashes between system and Samba SHA functions 2015-06-03 01:54:23 +02:00
wscript_build lib/crypto: add aes_gcm_128 support. 2014-10-16 19:30:04 +02:00
wscript_configure Prevent clashes between system and Samba SHA functions 2015-06-03 01:54:23 +02:00