@oej commented on this pull request.


In src/modules/cdp/cdp_tls.c:

> +	}
+	return ssl;
+}
+
+void cleanup_ssl(SSL_CTX* tls_ctx, SSL* tls_conn)
+{
+	SSL_shutdown(tls_conn);
+	SSL_free(tls_conn);
+	SSL_CTX_free(tls_ctx);
+}
+
+int to_ssl(SSL_CTX** tls_ctx_p, SSL** tls_conn_p, int tcp_sock, int method)
+{
+	*tls_ctx_p = init_ssl_ctx(method);
+	if (!(*tls_ctx_p)) {
+		LM_ERR("to_ssl(): Error on initialising ssl context\n");

TLS context or "openssl context"


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/3548/review/1592880808@github.com>