axlPointer vortex_tls_get_ssl_object ( VortexConnection connection  ) 

Returns the SSL object associated to the given connection.

Once a TLS negotiation has finished, the SSL object, representing the TLS session, according to the OpenSSL documentation, is stored on the connection. This function allows to return that reference.

connection The connection with a TLS session activated.
The SSL object reference or NULL if not defined. The function returns NULL if TLS profile is not activated (at compilation time).