diff options
| author | Alexander M Pickering <alex@cogarr.net> | 2024-11-12 15:51:31 -0600 |
|---|---|---|
| committer | Alexander M Pickering <alex@cogarr.net> | 2024-11-12 15:51:31 -0600 |
| commit | cdf78b218a9f6c5875a7a3e697c8b036b1c3a014 (patch) | |
| tree | 147fb44f0b3ac528ac4e65786deffece3663ea5a | |
| parent | f105b449743f50459f7f1ed24804fb4ebe0b0d1f (diff) | |
| download | busybox-w32-packaging-cdf78b218a9f6c5875a7a3e697c8b036b1c3a014.tar.gz busybox-w32-packaging-cdf78b218a9f6c5875a7a3e697c8b036b1c3a014.tar.bz2 busybox-w32-packaging-cdf78b218a9f6c5875a7a3e697c8b036b1c3a014.zip | |
use correct size type
| -rw-r--r-- | libressl.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libressl.patch b/libressl.patch index a82e616..b956bc2 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..458ab14e1 100644 | 138 | index 6a64836fb..404e55eff 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 @@ |
| @@ -200,7 +200,7 @@ index 6a64836fb..458ab14e1 100644 | |||
| 200 | + printf("wget tlsgets_trim_sanitize 1\n"); | 200 | + printf("wget tlsgets_trim_sanitize 1\n"); |
| 201 | + char c; | 201 | + char c; |
| 202 | + char *buf_ptr; | 202 | + char *buf_ptr; |
| 203 | + size_t len = tls_read(ctx,G.wget_buf, sizeof(G.wget_buf)); | 203 | + ssize_t len = tls_read(ctx,G.wget_buf, sizeof(G.wget_buf)); |
| 204 | + if(len < 0) | 204 | + if(len < 0) |
| 205 | + bb_error_msg_and_die("tls read error: %s", tls_error(ctx)); | 205 | + bb_error_msg_and_die("tls read error: %s", tls_error(ctx)); |
| 206 | + printf("Read %llu bytes\n", len); | 206 | + printf("Read %llu bytes\n", len); |
