https://bugs.openldap.org/show_bug.cgi?id=10498
--- Comment #4 from Howard Chu hyc@openldap.org --- More in https://git.openldap.org/openldap/openldap/-/merge_requests/873
These gratuitous const qualifiers don't make the code more robust and certainly make it the opposite of useful.