diff options
Diffstat (limited to 'libressl.patch')
-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"); |