summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2024-11-11 19:12:48 -0600
committerAlexander M Pickering <alex@cogarr.net>2024-11-11 19:12:48 -0600
commitacd7ce751ab071d2fd2a4897e198b5ba86ef069f (patch)
tree122380091ba6035b2d7f4cdd40a7c0d65380ecee
parent3b57696a73af1a529a7d31394f3d3bf3737dcf9f (diff)
downloadbusybox-w32-packaging-bug/wolfssl.tar.gz
busybox-w32-packaging-bug/wolfssl.tar.bz2
busybox-w32-packaging-bug/wolfssl.zip
Set a ca folderbug/wolfssl
-rw-r--r--libressl.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/libressl.patch b/libressl.patch
index 3ff0493..9778341 100644
--- a/libressl.patch
+++ b/libressl.patch
@@ -135,7 +135,7 @@ index 9f1dd67ec..7e8da6df2 100644
135 static void tls_xwrite(tls_state_t *tls, int len) 135 static void tls_xwrite(tls_state_t *tls, int len)
136 { 136 {
137diff --git a/networking/wget.c b/networking/wget.c 137diff --git a/networking/wget.c b/networking/wget.c
138index 6a64836fb..1c1c6967d 100644 138index 6a64836fb..13474abe4 100644
139--- a/networking/wget.c 139--- a/networking/wget.c
140+++ b/networking/wget.c 140+++ b/networking/wget.c
141@@ -169,7 +169,11 @@ 141@@ -169,7 +169,11 @@
@@ -350,7 +350,7 @@ index 6a64836fb..1c1c6967d 100644
350+ config = tls_config_new(); 350+ config = tls_config_new();
351+ if(config == NULL) 351+ if(config == NULL)
352+ bb_error_msg_and_die("Out of memory 2"); 352+ bb_error_msg_and_die("Out of memory 2");
353+ if(tls_config_set_ca_file(config, "test.pem") != 0) 353+ if(tls_config_set_ca_path(config, "certs") != 0)
354+ bb_error_msg_and_die("Failed to set ca file"); 354+ bb_error_msg_and_die("Failed to set ca file");
355+ if(tls_configure(ctx,config) != 0) 355+ if(tls_configure(ctx,config) != 0)
356+ bb_error_msg_and_die("Failed to configure client"); 356+ bb_error_msg_and_die("Failed to configure client");