wget: make openssl/ssl_helper choice configurable

I got sick of not being able to wget a https file...

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2015-10-07 01:39:40 +02:00
parent 3b650c1e7b
commit 1c6c670ed4
8 changed files with 623 additions and 54 deletions

View File

@@ -0,0 +1,15 @@
Build instructions:
* Unpack wolfssl-3.6.8.zip
* Build it:
./configure --enable-static --disable-shared && make
* Drop this directory into wolfssl-3.6.8/ssl_helper
* Run ssl_helper.sh to compile and link the helper
Usage: "ssl_helper -d FILE_DESCRIPTOR" where FILE_DESCRIPTOR is open to the peer.
In bash, you can do it this way:
$ ssl_helper -d3 3<>/dev/tcp/HOST/PORT
Stdin will be SSL-encrypted and sent to FILE_DESCRIPTOR.
Data from FILE_DESCRIPTOR will be decrypted and sent to stdout.