From e1d00986c1c6848863db705964aac053191ba7c3 Mon Sep 17 00:00:00 2001 From: Alexander M Pickering Date: Fri, 8 Nov 2024 14:11:58 -0600 Subject: Reuse structs --- libressl.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libressl.patch b/libressl.patch index 00e6f63..9c3b752 100644 --- a/libressl.patch +++ b/libressl.patch @@ -109,7 +109,7 @@ index 9f1dd67ec..7e8da6df2 100644 static void tls_xwrite(tls_state_t *tls, int len) { diff --git a/networking/wget.c b/networking/wget.c -index 6a64836fb..ae99b2972 100644 +index 6a64836fb..cb625b9fc 100644 --- a/networking/wget.c +++ b/networking/wget.c @@ -689,6 +689,7 @@ static void reset_beg_range_to_zero(void) @@ -137,10 +137,10 @@ index 6a64836fb..ae99b2972 100644 + servername = xstrdup(host); + fflush_all(); + -+ tls *ctx = tls_client(); ++ struct tls *ctx = tls_client(); + if(ctx == NULL) + bb_error_msg_and_die("Out of memory"); -+ tls_config *config = tls_config_new(); ++ struct tls_config *config = tls_config_new(); + if(config == NULL) + bb_error_msg_and_die("Out of memory"); + if(tls_configure(ctx,config) != 0) -- cgit v1.2.3-55-g6feb