]> git.sur5r.net Git - openldap/commit
ITS#7269 SHA2: Avoid "static char real_hash[]" to support multithread
authorSATOH Fumiyasu <fumiyas@osstech.co.jp>
Thu, 10 May 2012 11:26:16 +0000 (20:26 +0900)
committerQuanah Gibson-Mount <quanah@openldap.org>
Wed, 30 May 2012 20:20:05 +0000 (13:20 -0700)
commit6f2df65189c3762d98f609d04328fce808832208
treef2177c4fa92971c9179e590841b1f5ee76e05123
parent0055caeb260544ab76f2ba66d1ce200e533956e2
ITS#7269 SHA2: Avoid "static char real_hash[]" to support multithread

Remove sha*_hex_hash() and replace chk_sha*() with
libraries/liblutil/passwd.c:chk_sha1() implementation to
avoid a race condition.
contrib/slapd-modules/passwd/sha2/slapd-sha2.c