76acfa2dd2
```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.-][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.-][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
15 lines
574 B
Diff
15 lines
574 B
Diff
Source: @pullmoll
|
|
Upstream: no
|
|
Reason: Use the proper interface of libressl which does not expose the internal structure of SSL
|
|
|
|
--- a/libsrc/Wi/http.c 2018-08-16 01:06:21.000000000 +0200
|
|
+++ b/libsrc/Wi/http.c 2020-01-27 15:09:53.284905265 +0100
|
|
@@ -9949,7 +9949,7 @@
|
|
cli_ssl_get_error_string (err_buf, sizeof (err_buf));
|
|
sqlr_new_error ("42000", "..002", "SSL_do_handshake failed %s", err_buf);
|
|
}
|
|
- ssl->state = SSL_ST_ACCEPT;
|
|
+ SSL_set_accept_state (ssl);
|
|
while (SSL_renegotiate_pending (ssl) && ctr < 1000)
|
|
{
|
|
timeout_t to = { 0, 1000 };
|