summaryrefslogtreecommitdiff
path: root/libressl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libressl.patch')
-rw-r--r--libressl.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/libressl.patch b/libressl.patch
index 00d5d4b..0322ddd 100644
--- a/libressl.patch
+++ b/libressl.patch
@@ -102,7 +102,7 @@ index 9f1dd67ec..60e1afe99 100644
102 static void tls_xwrite(tls_state_t *tls, int len) 102 static void tls_xwrite(tls_state_t *tls, int len)
103 { 103 {
104diff --git a/networking/wget.c b/networking/wget.c 104diff --git a/networking/wget.c b/networking/wget.c
105index 6a64836fb..4a5b4c9f0 100644 105index 6a64836fb..f859f429a 100644
106--- a/networking/wget.c 106--- a/networking/wget.c
107+++ b/networking/wget.c 107+++ b/networking/wget.c
108@@ -1,4 +1,3 @@ 108@@ -1,4 +1,3 @@
@@ -282,7 +282,7 @@ index 6a64836fb..4a5b4c9f0 100644
282+ bb_error_msg_and_die("Failed to set ca path"); 282+ bb_error_msg_and_die("Failed to set ca path");
283+ if(tls_config_set_ca_file(config, "cert.pem") != 0) 283+ if(tls_config_set_ca_file(config, "cert.pem") != 0)
284+ bb_error_msg_and_die("Failed to set ca file"); 284+ bb_error_msg_and_die("Failed to set ca file");
285+ gather_certificates(config); 285+ pemmem = gather_certificates(config);
286+ if(tls_configure(ctx,config) != 0) 286+ if(tls_configure(ctx,config) != 0)
287+ bb_error_msg_and_die("Failed to configure client"); 287+ bb_error_msg_and_die("Failed to configure client");
288+ sfp = tmpfile(); 288+ sfp = tmpfile();