[Date Prev][Date Next]
Undefined type LDAP_UINT4 (ITS#341)
Full_Name: Keith Thompson
OS: UNICOS/mk 22.214.171.124
Submission from: (NULL) (126.96.36.199)
In lutil_md5.h and lutil_sha1.h, the type uint32 is typedef'ed as
LDAP_UINT4. The header that declares LDAP_UINT4, bytes.h, assumes that
either int or long is exactly 32 bits, which is not the case under UNICOS
(both int and long are 32 bits). The provided patch defines uint32 as
unsigned long, in accordance with a comment in lutil_md5.h.
See the README file under the provided URL for more information. The URL
contains fixes for three bugs, including this one.