ITS#8753 Improve LDAP_OPT_X_TLS_PEERKEY_HASH documentation further

This commit is contained in:
Ondřej Kuzník 2022-02-21 10:21:04 +00:00 committed by Quanah Gibson-Mount
parent 73e882c87f
commit 7c5159a904

View file

@ -890,7 +890,11 @@ containing the base64 encoding of the expected peer's key or in the format
.B "<hashalg>:<peerkey hash base64 encoded>"
where as a TLS session is established, the library will hash the peer's key
with the provided hash algorithm and compare it with value provided and will
only allow the session to continue if they match.
only allow the session to continue if they match. This happens regardless of
certificate checking strategy. The list of supported
.B hashalg
values depends on the crypto library used, check its documentation to get
a list.
.SH ERRORS
On success, the functions return
.BR LDAP_OPT_SUCCESS ,