From: Christopher Head Date: Tue, 21 Jan 2020 20:44:46 +0000 (-0800) Subject: Switch to HTTPS for submodules X-Git-Tag: v0.11.0-rc1~476 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=7d6156fae8a398a3bd17af5a30b32a8bf6ec206a Switch to HTTPS for submodules repo.or.cz already redirects HTTP requests to HTTPS. There is therefore no possible benefit to keeping the submodule URLs using HTTP—anyone who can’t access via HTTPS will fail anyway, immediately after the redirect. Changing the submodule URLs eliminates one unnecessary HTTP request and, more importantly, eliminates SSLStrip-style attacks. Change-Id: I9faf1ec8aa87bcfd1acafe2c445a0baf2abfbd09 Signed-off-by: Christopher Head Reviewed-on: http://openocd.zylin.com/5406 Reviewed-by: Antonio Borneo Tested-by: jenkins Reviewed-by: Tomas Vanek --- diff --git a/.gitmodules b/.gitmodules index 5865ff92a9..958c5d901c 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,9 +1,9 @@ [submodule "tools/git2cl"] path = tools/git2cl - url = http://repo.or.cz/r/git2cl.git + url = https://repo.or.cz/git2cl.git [submodule "jimtcl"] path = jimtcl - url = http://repo.or.cz/r/jimtcl.git + url = https://repo.or.cz/jimtcl.git [submodule "src/jtag/drivers/libjaylink"] path = src/jtag/drivers/libjaylink - url = http://repo.or.cz/r/libjaylink.git + url = https://repo.or.cz/libjaylink.git