void vortex_tls_set_ctx_creation ( VortexConnection connection,
VortexTlsCtxCreation  ctx_creation,
axlPointer  user_data 

Allows to configure the SSL context creation function to be called, once the TLS process is activated, and it is required an SSL_CTX object.

See VortexTlsCtxCreation for more information.

If you want to configure a global handler to be called for all connections, you can use the default handler: vortex_tls_set_default_ctx_creation.

NOTE: Using this function for the server side, will disable the following handlers, (provided at the vortex_tls_accept_negotiation):

This is because providing a function to create the SSL context (SSL_CTX) assumes the application layer on top of Vortex Library takes control over the SSL configuration process. This ensures Vortex Library will not do any additional configuration once created the SSL context (SSL_CTX).

connection The connection that is going to be TLS-fixated.
ctx_creation The handler to be called once required a SSL_CTX object.
user_data User defined data, that is passed to the handler provided (ctx_creation).