summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2024-11-08 13:43:20 -0600
committerAlexander M Pickering <alex@cogarr.net>2024-11-08 13:43:20 -0600
commit7161bfe028f01f237d9b6e91ef1e3ec274686472 (patch)
treeffc1afb05890d2f415ade984d1fba3fe4b9bee5d
parent67f4fd9e478cebc3ff8e064c598b9b50d1b36bc5 (diff)
downloadbusybox-w32-packaging-7161bfe028f01f237d9b6e91ef1e3ec274686472.tar.gz
busybox-w32-packaging-7161bfe028f01f237d9b6e91ef1e3ec274686472.tar.bz2
busybox-w32-packaging-7161bfe028f01f237d9b6e91ef1e3ec274686472.zip
Remove handshake call
-rw-r--r--libressl.patch13
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 {
169diff --git a/networking/ssl_client.c b/networking/ssl_client.c 169diff --git a/networking/ssl_client.c b/networking/ssl_client.c
170index 757745896..72bd4969f 100644 170index 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);