[Issue 10498] libldap OpenSSL 4 compatibility