At 06:39 PM 12/29/2003, Luke Howard wrote:
BTW we should check for crypt_r() -- not sure if the API signature is portable but for platforms that we can support it avoids reentrancy issues associated with crypt().
Little point in that... it's all behind a mutex anyways.
Sure, but: plugins may call crypt() without being access to slapd's mutex (we have one that does).
Then, a better solution would be to provide a slapi_int_crypt() that provides the service with the same protection used inside slapd...
Ando.
-- Dr. Pierangelo Masarati mailto:pierangelo.masarati@sys-net.it LDAP Architect, SysNet s.n.c. http://www.sys-net.it