mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-31 19:09:42 -05:00
Explanation and warnings about OPT_X_TLS_CTX and OPT_X_TLS_SSL_CTX.
This commit is contained in:
parent
c012c105ba
commit
ff9693a15d
1 changed files with 8 additions and 2 deletions
|
|
@ -653,13 +653,16 @@ and its contents need to be freed by the caller using
|
|||
This option is only valid for GnuTLS.
|
||||
.TP
|
||||
.B LDAP_OPT_X_TLS_CTX
|
||||
Sets/gets the OpenSSL CTX.
|
||||
Sets/gets the TLS library context associated with this handle.
|
||||
.BR invalue
|
||||
must be
|
||||
.BR "const void *" ;
|
||||
.BR outvalue
|
||||
must be
|
||||
.BR "void **" .
|
||||
When using the OpenSSL library this is an SSL_CTX*. When using other
|
||||
crypto libraries this is an OpenLDAP private structure. Applications
|
||||
generally should not use this option.
|
||||
.TP
|
||||
.B LDAP_OPT_X_TLS_DHFILE
|
||||
Gets/sets the full-path of the file containing the parameters
|
||||
|
|
@ -729,10 +732,13 @@ one of
|
|||
.BR LDAP_OPT_X_TLS_TRY .
|
||||
.TP
|
||||
.B LDAP_OPT_X_TLS_SSL_CTX
|
||||
Gets the OpenSSL SSL CTX;
|
||||
Gets the OpenSSL SSL CTX associated with this handle.
|
||||
.BR outvalue
|
||||
must be
|
||||
.BR "void **" .
|
||||
When using the OpenSSL library this is an SSL*. When using other
|
||||
crypto libraries this is an OpenLDAP private structure. Applications
|
||||
generally should not use this option.
|
||||
.SH ERRORS
|
||||
On success, the functions return
|
||||
.BR LDAP_OPT_SUCCESS ,
|
||||
|
|
|
|||
Loading…
Reference in a new issue