]> 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)
committerHoward Chu <hyc@openldap.org>
Tue, 29 May 2012 23:02:16 +0000 (16:02 -0700)
commit3bc7f6d27dfd3ce33a3ee2b085a2ed9f9c362c68
tree3475d75dc54f7a9b01bfa664b794d71101feef52
parent22bf5188a91d300453c4077eaa88af6b399ce7e9
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