From 730078525361fb2896b04384ef4bc49a02a04c1c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Wed, 9 Jun 2021 17:19:04 +0200
Subject: [PATCH] Use secure URL for link to GNU licenses

---
 LICENSE.md                           | 2 +-
 src/build_report_summary.m           | 2 +-
 src/dassert.m                        | 2 +-
 src/display_report.m                 | 2 +-
 src/dtest.m                          | 2 +-
 src/get_directory_description.m      | 2 +-
 src/initialize_unit_tests_toolbox.m  | 2 +-
 src/is_unitary_test_available.m      | 2 +-
 src/missing/isoctave/isoctave.m      | 2 +-
 src/missing/skipline/skipline.m      | 2 +-
 src/mtest.m                          | 2 +-
 src/run_unitary_tests.m              | 2 +-
 src/run_unitary_tests_in_directory.m | 2 +-
 13 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/LICENSE.md b/LICENSE.md
index 8b4f390..053aba9 100644
--- a/LICENSE.md
+++ b/LICENSE.md
@@ -13,4 +13,4 @@ The Dynare m-unit-tests module is distributed under the GNU GPL:
 > GNU General Public License for more details.
 > 
 > You should have received a copy of the GNU General Public License
-> along with this program.  If not, see <http://www.gnu.org/licenses/>.
\ No newline at end of file
+> along with this program.  If not, see <https://www.gnu.org/licenses/>.
\ No newline at end of file
diff --git a/src/build_report_summary.m b/src/build_report_summary.m
index 15cff46..d6a5e37 100644
--- a/src/build_report_summary.m
+++ b/src/build_report_summary.m
@@ -25,7 +25,7 @@ function str = build_report_summary(reportfile, printonscreen, mailreport)
 % more details.
 %
 % You should have received a copy of the GNU General Public License
-% along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+% along with Dynare.  If not, see <https://www.gnu.org/licenses/>.
 
 if nargin<2
     printonscreen = true;
diff --git a/src/dassert.m b/src/dassert.m
index a913859..686ffe5 100644
--- a/src/dassert.m
+++ b/src/dassert.m
@@ -17,7 +17,7 @@ function t = dassert(A,B,tol)
 % more details.
 %
 % You should have received a copy of the GNU General Public License
-% along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+% along with Dynare.  If not, see <https://www.gnu.org/licenses/>.
 
 if ( (nargin<3) || isempty(tol) )
     use_isequal_matlab_builtin = 1;
diff --git a/src/display_report.m b/src/display_report.m
index fa8dfe9..cfe343b 100644
--- a/src/display_report.m
+++ b/src/display_report.m
@@ -23,7 +23,7 @@ function display_report(r)
 % GNU General Public License for more details.
 %
 % You should have received a copy of the GNU General Public License
-% along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+% along with Dynare.  If not, see <https://www.gnu.org/licenses/>.
 
 % Number of unit tests.
 n = size(r, 1);
diff --git a/src/dtest.m b/src/dtest.m
index 4b7530c..226b2ce 100644
--- a/src/dtest.m
+++ b/src/dtest.m
@@ -33,7 +33,7 @@ function dtest(fun, tpath)
 % more details.
 %
 % You should have received a copy of the GNU General Public License
-% along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+% along with Dynare.  If not, see <https://www.gnu.org/licenses/>.
 
 if nargin>1 || isempty(tpath)
     original_directory = pwd();
diff --git a/src/get_directory_description.m b/src/get_directory_description.m
index 4589a20..427bb05 100644
--- a/src/get_directory_description.m
+++ b/src/get_directory_description.m
@@ -23,7 +23,7 @@ function flist = get_directory_description(basedir)
 % more details.
 %
 % You should have received a copy of the GNU General Public License
-% along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+% along with Dynare.  If not, see <https://www.gnu.org/licenses/>.
 
 if ~nargin || isempty(basedir)
     % Current directory is the default value of basedir
diff --git a/src/initialize_unit_tests_toolbox.m b/src/initialize_unit_tests_toolbox.m
index 59049d4..8832723 100644
--- a/src/initialize_unit_tests_toolbox.m
+++ b/src/initialize_unit_tests_toolbox.m
@@ -13,7 +13,7 @@
 % more details.
 %
 % You should have received a copy of the GNU General Public License
-% along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+% along with Dynare.  If not, see <https://www.gnu.org/licenses/>.
 
 % Get the path to the m-unit-tests/src folder.
 unit_tests_src_root = strrep(which('initialize_unit_tests_toolbox'),'initialize_unit_tests_toolbox.m','');
diff --git a/src/is_unitary_test_available.m b/src/is_unitary_test_available.m
index 79a5737..b208492 100644
--- a/src/is_unitary_test_available.m
+++ b/src/is_unitary_test_available.m
@@ -24,7 +24,7 @@ function info = is_unitary_test_available(fun)
 % more details.
 %
 % You should have received a copy of the GNU General Public License
-% along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+% along with Dynare.  If not, see <https://www.gnu.org/licenses/>.
 
 info = 0;
 
diff --git a/src/missing/isoctave/isoctave.m b/src/missing/isoctave/isoctave.m
index 7f1b7db..7f6ac8f 100644
--- a/src/missing/isoctave/isoctave.m
+++ b/src/missing/isoctave/isoctave.m
@@ -15,6 +15,6 @@ function l = isoctave()
 % GNU General Public License for more details.
 %
 % You should have received a copy of the GNU General Public License
-% along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+% along with Dynare.  If not, see <https://www.gnu.org/licenses/>.
 
 l = exist('OCTAVE_VERSION');
\ No newline at end of file
diff --git a/src/missing/skipline/skipline.m b/src/missing/skipline/skipline.m
index f148997..575787d 100644
--- a/src/missing/skipline/skipline.m
+++ b/src/missing/skipline/skipline.m
@@ -25,7 +25,7 @@ function skipline(n, fid)
 % GNU General Public License for more details.
 %
 % You should have received a copy of the GNU General Public License
-% along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+% along with Dynare.  If not, see <https://www.gnu.org/licenses/>.
 
 if nargin < 2
     fid = 1;
diff --git a/src/mtest.m b/src/mtest.m
index 15b2b47..50634c4 100644
--- a/src/mtest.m
+++ b/src/mtest.m
@@ -39,7 +39,7 @@ function [check, info] = mtest(fname, fpath)
 % more details.
 %
 % You should have received a copy of the GNU General Public License
-% along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+% along with Dynare.  If not, see <https://www.gnu.org/licenses/>.
 
 % Default answer (no problem).
 check = 1;
diff --git a/src/run_unitary_tests.m b/src/run_unitary_tests.m
index 63c2de8..0232a32 100644
--- a/src/run_unitary_tests.m
+++ b/src/run_unitary_tests.m
@@ -29,7 +29,7 @@ function [report, time] = run_unitary_tests(listoffiles)
 % GNU General Public License for more details.
 %
 % You should have received a copy of the GNU General Public License
-% along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+% along with Dynare.  If not, see <https://www.gnu.org/licenses/>.
 
 report = {};
 
diff --git a/src/run_unitary_tests_in_directory.m b/src/run_unitary_tests_in_directory.m
index 90d6abf..da210db 100644
--- a/src/run_unitary_tests_in_directory.m
+++ b/src/run_unitary_tests_in_directory.m
@@ -31,7 +31,7 @@ function report = run_unitary_tests_in_directory(dirname, savereport, printrepor
 % more details.
 %
 % You should have received a copy of the GNU General Public License
-% along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+% along with Dynare.  If not, see <https://www.gnu.org/licenses/>.
 
 INIT_PATH = pwd();
 
-- 
GitLab