diff options
-rw-r--r-- | libressl.patch | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/libressl.patch b/libressl.patch index 1cac700..c134e98 100644 --- a/libressl.patch +++ b/libressl.patch | |||
@@ -167,7 +167,7 @@ index 87e7ca602..7bad3e4fa 100644 | |||
167 | struct passwd *getpwnam(const char *name) | 167 | struct passwd *getpwnam(const char *name) |
168 | { | 168 | { |
169 | diff --git a/networking/ssl_client.c b/networking/ssl_client.c | 169 | diff --git a/networking/ssl_client.c b/networking/ssl_client.c |
170 | index 757745896..72bd4969f 100644 | 170 | index 757745896..2c30b7923 100644 |
171 | --- a/networking/ssl_client.c | 171 | --- a/networking/ssl_client.c |
172 | +++ b/networking/ssl_client.c | 172 | +++ b/networking/ssl_client.c |
173 | @@ -24,7 +24,7 @@ | 173 | @@ -24,7 +24,7 @@ |
@@ -176,6 +176,15 @@ index 757745896..72bd4969f 100644 | |||
176 | #include "libbb.h" | 176 | #include "libbb.h" |
177 | - | 177 | - |
178 | +#include <tls.h> | 178 | +#include <tls.h> |
179 | int ssl_client_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 179 | int ssl_client_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
180 | int ssl_client_main(int argc UNUSED_PARAM, char **argv) | 180 | int ssl_client_main(int argc UNUSED_PARAM, char **argv) |
181 | { | 181 | { |
182 | @@ -69,7 +69,7 @@ int ssl_client_main(int argc UNUSED_PARAM, char **argv) | ||
183 | } | ||
184 | #endif | ||
185 | |||
186 | - tls_handshake(tls, sni); | ||
187 | + //tls_handshake(tls, sni); | ||
188 | |||
189 | BUILD_BUG_ON(TLSLOOP_EXIT_ON_LOCAL_EOF != 1); | ||
190 | tls_run_copy_loop(tls, /*flags*/ opt & 1); | ||