Fix TLS, again... #38

Merged
jordan merged 4 commits from lda/Cytoplasm:fix-tls into master 2024-06-24 19:18:44 +00:00
Showing only changes of commit 5dc1ec49eb - Show all commits

View file

@ -89,6 +89,7 @@ TlsInitClient(int fd, const char *serverName)
cookie->method = TLS_client_method(); cookie->method = TLS_client_method();
cookie->ctx = SSL_CTX_new(cookie->method); cookie->ctx = SSL_CTX_new(cookie->method);
coolie->fd = fd;
if (!cookie->ctx) if (!cookie->ctx)
{ {
goto error; goto error;