aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2018-03-15 10:32:23 +0000
committerRon Yorston <rmy@pobox.com>2018-03-15 10:39:20 +0000
commit7cc082e2370da69c8783812c251190d316ce82b3 (patch)
tree8a6224f8dd28fb1ffd3e6ef111efcc8b82f429b8 /include
parentf011d7284d8cabe5d453b43d4df44d0423db22c8 (diff)
downloadbusybox-w32-7cc082e2370da69c8783812c251190d316ce82b3.tar.gz
busybox-w32-7cc082e2370da69c8783812c251190d316ce82b3.tar.bz2
busybox-w32-7cc082e2370da69c8783812c251190d316ce82b3.zip
wget: add support for https
Allow wget to support https URLs. Changes are: - Add mingw_popen2 which uses a named pipe to allow bidirectional communication with a child process; - Modify ssl_client to accept a WIN32 handle instead of a file descriptor as an argument; - Allow tls_get_random to open /dev/urandom; - Using the above changes implement a WIN32 version of spawn_ssl_client in wget. This closes GitHub issue #75. Also, enable authentication in wget.
Diffstat (limited to 'include')
-rw-r--r--include/mingw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h
index 386540b37..e56e8f03d 100644
--- a/include/mingw.h
+++ b/include/mingw.h
@@ -111,6 +111,7 @@ int mingw_rename(const char*, const char*);
111 111
112FILE *mingw_popen(const char *cmd, const char *mode); 112FILE *mingw_popen(const char *cmd, const char *mode);
113int mingw_popen_fd(const char *cmd, const char *mode, int fd0, pid_t *pid); 113int mingw_popen_fd(const char *cmd, const char *mode, int fd0, pid_t *pid);
114int mingw_popen2(const char *cmd, pid_t *pid);
114int mingw_pclose(FILE *fd); 115int mingw_pclose(FILE *fd);
115#undef popen 116#undef popen
116#undef pclose 117#undef pclose