diff options
author | Alexander A. Klimov <grandmaster@al2klimov.de> | 2020-07-19 12:30:33 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2020-08-19 09:19:13 +0200 |
commit | 83bf6db020248f436309e99a6f8544d7216f6756 (patch) | |
tree | 0c002128c3555250ab50009b54647a688513d592 /crypto/pcbc.c | |
parent | ARM: OMAP2+: pm33xx-core: Replace HTTP links with HTTPS ones (diff) | |
download | linux-83bf6db020248f436309e99a6f8544d7216f6756.tar.xz linux-83bf6db020248f436309e99a6f8544d7216f6756.zip |
ARM: OMAP2+: Replace HTTP links with HTTPS ones
Rationale:
Reduces attack surface on kernel devs opening the links for MITM
as HTTPS traffic is much harder to manipulate.
Deterministic algorithm:
For each file:
If not .svg:
For each line:
If doesn't contain `\bxmlns\b`:
For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:
If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`:
If both the HTTP and HTTPS versions
return 200 OK and serve the same content:
Replace HTTP with HTTPS.
Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'crypto/pcbc.c')
0 files changed, 0 insertions, 0 deletions