docs: note CURLOPT_PINNEDPUBLICKEY has no effect on legacy LDAP backend

Closes #21682
This commit is contained in:
Joshua Rogers 2026-05-19 23:14:01 +02:00 committed by Daniel Stenberg
parent bcd0497c81
commit f2692b54f7
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -53,6 +53,11 @@ On mismatch, *CURLE_SSL_PINNEDPUBKEYNOTMATCH* is returned.
The application does not have to keep the string around after setting this
option.
This option has no effect on LDAP connections when libcurl uses the legacy LDAP
backend. That backend manages TLS independently of curl's TLS layer. When
libcurl is built with USE_OPENLDAP, the OpenLDAP backend routes TLS through
curl's layer and this option is honored.
# DEFAULT
NULL