diff options
author | Alexander M Pickering <alex@cogarr.net> | 2024-11-12 10:43:19 -0600 |
---|---|---|
committer | Alexander M Pickering <alex@cogarr.net> | 2024-11-12 10:43:19 -0600 |
commit | 9ae77d3885a23c3ad05ce2cd752d35ba6c1d957c (patch) | |
tree | 5d10d9c50bb122a4bcdcc99216c40fba0ac04798 | |
parent | 30a8a5603a38709360ac69dd2d864d47e4fcd1b8 (diff) | |
download | busybox-w32-packaging-9ae77d3885a23c3ad05ce2cd752d35ba6c1d957c.tar.gz busybox-w32-packaging-9ae77d3885a23c3ad05ce2cd752d35ba6c1d957c.tar.bz2 busybox-w32-packaging-9ae77d3885a23c3ad05ce2cd752d35ba6c1d957c.zip |
try using host without port
-rw-r--r-- | libressl.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libressl.patch b/libressl.patch index 877a2a7..92f276f 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..55195baf3 100644 | 138 | index 6a64836fb..2da1f0c11 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 @@ |
@@ -356,8 +356,8 @@ index 6a64836fb..55195baf3 100644 | |||
356 | + bb_error_msg_and_die("Failed to configure client"); | 356 | + bb_error_msg_and_die("Failed to configure client"); |
357 | + sfp = tmpfile(); | 357 | + sfp = tmpfile(); |
358 | + dfp = tmpfile(); | 358 | + dfp = tmpfile(); |
359 | + printf("TLS connection to %s", servername); | 359 | + printf("TLS connection to %s", server.host); |
360 | + if(tls_connect_fds(ctx, dfp, sfp, servername) != 0) | 360 | + if(tls_connect_fds(ctx, dfp, sfp, server.host) != 0) |
361 | + bb_error_msg_and_die("Failed to connect: %s", tls_error(ctx)); | 361 | + bb_error_msg_and_die("Failed to connect: %s", tls_error(ctx)); |
362 | + tls_config_free(config); | 362 | + tls_config_free(config); |
363 | + free(allocated); | 363 | + free(allocated); |