@oej commented on this pull request.
+ }
+ 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 or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3548#pullrequestreview-1592880808
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3548/review/1592880808(a)github.com>