diff options
Diffstat (limited to 'networking/ssl_client.c')
-rw-r--r-- | networking/ssl_client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/networking/ssl_client.c b/networking/ssl_client.c index cd0ee5722..27575a2bf 100644 --- a/networking/ssl_client.c +++ b/networking/ssl_client.c | |||
@@ -64,6 +64,7 @@ int ssl_client_main(int argc UNUSED_PARAM, char **argv) | |||
64 | else { | 64 | else { |
65 | if (!hstr || sscanf(hstr, "%p", &h) != 1) | 65 | if (!hstr || sscanf(hstr, "%p", &h) != 1) |
66 | bb_error_msg_and_die("invalid handle"); | 66 | bb_error_msg_and_die("invalid handle"); |
67 | init_winsock(); | ||
67 | tls->ifd = tls->ofd = _open_osfhandle((intptr_t)h, _O_RDWR|_O_BINARY); | 68 | tls->ifd = tls->ofd = _open_osfhandle((intptr_t)h, _O_RDWR|_O_BINARY); |
68 | } | 69 | } |
69 | #endif | 70 | #endif |