diff options
author | Alexander M Pickering <alex@cogarr.net> | 2024-11-11 19:12:48 -0600 |
---|---|---|
committer | Alexander M Pickering <alex@cogarr.net> | 2024-11-11 19:12:48 -0600 |
commit | acd7ce751ab071d2fd2a4897e198b5ba86ef069f (patch) | |
tree | 122380091ba6035b2d7f4cdd40a7c0d65380ecee | |
parent | 3b57696a73af1a529a7d31394f3d3bf3737dcf9f (diff) | |
download | busybox-w32-packaging-acd7ce751ab071d2fd2a4897e198b5ba86ef069f.tar.gz busybox-w32-packaging-acd7ce751ab071d2fd2a4897e198b5ba86ef069f.tar.bz2 busybox-w32-packaging-acd7ce751ab071d2fd2a4897e198b5ba86ef069f.zip |
Set a ca folderbug/wolfssl
-rw-r--r-- | libressl.patch | 4 |
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 | { |
137 | diff --git a/networking/wget.c b/networking/wget.c | 137 | diff --git a/networking/wget.c b/networking/wget.c |
138 | index 6a64836fb..1c1c6967d 100644 | 138 | index 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"); |