From: Howard Chu Date: Wed, 26 Aug 2009 23:12:47 +0000 (+0000) Subject: Explanation and warnings about OPT_X_TLS_CTX and OPT_X_TLS_SSL_CTX. X-Git-Tag: ACLCHECK_0~238 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ff9693a15dbc820f1947f39c295313e0d8073447;p=openldap Explanation and warnings about OPT_X_TLS_CTX and OPT_X_TLS_SSL_CTX. --- diff --git a/doc/man/man3/ldap_get_option.3 b/doc/man/man3/ldap_get_option.3 index f444235f93..2a0890e0a5 100644 --- a/doc/man/man3/ldap_get_option.3 +++ b/doc/man/man3/ldap_get_option.3 @@ -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 ,