]> git.sur5r.net Git - openldap/commit
SHA2: Make slapd-sha2 module portable
authorSATOH Fumiyasu <fumiyas@osstech.co.jp>
Tue, 8 May 2012 06:35:32 +0000 (15:35 +0900)
committerQuanah Gibson-Mount <quanah@openldap.org>
Wed, 9 May 2012 19:36:08 +0000 (12:36 -0700)
commitc3fa6a77f8f2a6f4c0702935d8937874619766bf
tree63bca16c9ffa78a38b50e646cf9deea3a59ca118
parenta74164a9c72c2d0e72ff1e2acbfea21dfe94bc40
SHA2: Make slapd-sha2 module portable

contrib/slapd-modules/passwd/sha2/sha2.[ch] need portable.h and
some macros to be portable source.

contrib/slapd-modules/passwd/sha2/slapd-sha2.c:hash_sha*() must
declare "struct berval digest" before a statement for K&R C,
and must replace C++ "// foo"-style comments with C style.
contrib/slapd-modules/passwd/sha2/sha2.h
contrib/slapd-modules/passwd/sha2/slapd-sha2.c