[Date Prev][Date Next] [Chronological] [Thread] [Top]

Undefined type LDAP_UINT4 (ITS#341)

Full_Name: Keith Thompson
Version: 1.2.7
URL: ftp://ftp.sdsc.edu/pub/outgoing/kst/OpenLDAP-patches-1.2.7/
Submission from: (NULL) (

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.