diff options
-rw-r--r-- | libressl.patch | 6 |
1 files 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 | |||
109 | static void tls_xwrite(tls_state_t *tls, int len) | 109 | static void tls_xwrite(tls_state_t *tls, int len) |
110 | { | 110 | { |
111 | diff --git a/networking/wget.c b/networking/wget.c | 111 | diff --git a/networking/wget.c b/networking/wget.c |
112 | index 6a64836fb..ae99b2972 100644 | 112 | index 6a64836fb..cb625b9fc 100644 |
113 | --- a/networking/wget.c | 113 | --- a/networking/wget.c |
114 | +++ b/networking/wget.c | 114 | +++ b/networking/wget.c |
115 | @@ -689,6 +689,7 @@ static void reset_beg_range_to_zero(void) | 115 | @@ -689,6 +689,7 @@ static void reset_beg_range_to_zero(void) |
@@ -137,10 +137,10 @@ index 6a64836fb..ae99b2972 100644 | |||
137 | + servername = xstrdup(host); | 137 | + servername = xstrdup(host); |
138 | + fflush_all(); | 138 | + fflush_all(); |
139 | + | 139 | + |
140 | + tls *ctx = tls_client(); | 140 | + struct tls *ctx = tls_client(); |
141 | + if(ctx == NULL) | 141 | + if(ctx == NULL) |
142 | + bb_error_msg_and_die("Out of memory"); | 142 | + bb_error_msg_and_die("Out of memory"); |
143 | + tls_config *config = tls_config_new(); | 143 | + struct tls_config *config = tls_config_new(); |
144 | + if(config == NULL) | 144 | + if(config == NULL) |
145 | + bb_error_msg_and_die("Out of memory"); | 145 | + bb_error_msg_and_die("Out of memory"); |
146 | + if(tls_configure(ctx,config) != 0) | 146 | + if(tls_configure(ctx,config) != 0) |