[FIX] Actually set fd.
I *should* have seen that one coming, oops!
This commit is contained in:
parent
eca717d90c
commit
5dc1ec49eb
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue