```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
```
21 lines
669 B
Diff
21 lines
669 B
Diff
Description: Comment unknown definition in ssl1.1 - please review!
|
|
Author: Andreas Tille <tille@debian.org>
|
|
Bug-Debian: https://bugs.debian.org/828594
|
|
Last-Update: Mo 11. Feb 13:50:17 CET 2019
|
|
|
|
--- a/libsrc/Dk/Dkernel.c
|
|
+++ b/libsrc/Dk/Dkernel.c
|
|
@@ -5161,10 +5161,12 @@ ssl_ctx_set_protocol_options(SSL_CTX *ct
|
|
else if (!strcasecmp (name, "TLSv1_2") || !strcasecmp (name, "TLSv1.2"))
|
|
opt = SSL_PROTOCOL_TLSV1_2;
|
|
#endif
|
|
+/*
|
|
#if defined (SSL_OP_NO_TLSv1_3)
|
|
else if (!strcasecmp (name, "TLSv1_3") || !strcasecmp (name, "TLSv1.3"))
|
|
opt = SSL_PROTOCOL_TLSV1_3;
|
|
#endif
|
|
+*/
|
|
else if (!strcasecmp (name, "ALL"))
|
|
opt = SSL_PROTOCOL_ALL;
|
|
else
|