@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, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.