Commit 0177ed6f authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

clarify that the ctxfunc is called on all new connects

parent c62635a3
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -233,6 +233,9 @@ perform operation will return the error code from this callback function. Set
the \fIparm\fP argument with the \fICURLOPT_SSL_CTX_DATA\fP option. This
the \fIparm\fP argument with the \fICURLOPT_SSL_CTX_DATA\fP option. This
option was introduced in 7.11.0.
option was introduced in 7.11.0.


This function will get called on all new connections made to a server, during
the SSL negotiation. The SSL_CTX pointer will be a new one every time.

\fBNOTE:\fP To use this properly, a non-trivial amount of knowledge of the
\fBNOTE:\fP To use this properly, a non-trivial amount of knowledge of the
openssl libraries is necessary. Using this function allows for example to use
openssl libraries is necessary. Using this function allows for example to use
openssl callbacks to add additional validation code for certificates, and even
openssl callbacks to add additional validation code for certificates, and even