From 5dc1ec49eb777e3887014ad0d682bad664068ce6 Mon Sep 17 00:00:00 2001 From: LDA Date: Wed, 19 Jun 2024 17:40:06 +0200 Subject: [PATCH] [FIX] Actually set fd. I *should* have seen that one coming, oops! --- src/Tls/TlsOpenSSL.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Tls/TlsOpenSSL.c b/src/Tls/TlsOpenSSL.c index 07b7bd5..8020ec1 100644 --- a/src/Tls/TlsOpenSSL.c +++ b/src/Tls/TlsOpenSSL.c @@ -89,6 +89,7 @@ TlsInitClient(int fd, const char *serverName) cookie->method = TLS_client_method(); cookie->ctx = SSL_CTX_new(cookie->method); + coolie->fd = fd; if (!cookie->ctx) { goto error;