Change #272591
| Category | curl |
| Changed by | Jay Satiro <raysatiro@yahoo.com> |
| Changed at | Wed 24 Jun 2026 20:36:16 |
| Repository | https://github.com/curl/curl.git |
| Project | curl |
| Branch | master |
| Revision | 4ce309d968cfe02c402d07b2911241c38a8adf6b |
Comments
ldap: support insecure mode for Windows native LDAP - Bypass cert verification if verifypeer is disabled. Prior to this change libcurl lacked the ability to bypass certificate verification for Windows native LDAP (USE_WIN32_LDAP). A comment said "Win32 LDAP SDK does not support insecure mode without CA!" but I found that we can bypass the check by setting a verify callback to override Windows' internal verify check. Closes https://github.com/curl/curl/pull/22152
Changed files
- lib/ldap.c