@oej commented on this pull request.
+ }
+ return 0;
+}
+
+SSL* init_ssl_conn(int client_fd, SSL_CTX *ctx)
+{
+ /* Create an SSL object */
+ SSL *ssl = SSL_new(ctx);
+ if (!ssl) {
+ LM_ERR("init_ssl_conn(): Failed to create SSL object.");
+ SSL_CTX_free(ctx);
+ return NULL;
+ }
+ /* Set up the TLS connection */
+ if (SSL_set_fd(ssl, client_fd) != 1) {
+ LM_ERR("init_ssl_conn(): Failed to set up TLS connection.");
Can you divulge any more about why it failed? Does the error code hint a reason?
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3548#pullrequestreview-1592880055
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3548/review/1592880055(a)github.com>