[setup - the official Cygwin setup program] branch master, updated. release_2.935-17-g25f4b1b8

Jon Turney via Cygwin-apps-cvs <[email protected]> Sun, 1 Feb 2026 15:42:21 +0000 (GMT)
Newsgroups gmane.os.cygwin.cvs.apps
Message-ID <[email protected]>



Diff:
---
 ini.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ini.cc b/ini.cc
index 006d710e..371d2675 100644
--- a/ini.cc
+++ b/ini.cc
@@ -242,8 +242,8 @@ do_remote_ini (Feedback &myFeedback)
 	  ini_file = get_url_to_membuf (current_ini_name, myFeedback);
 	  ini_file = check_ini_sig (ini_file, ini_sig_file, sig_fail,
 				    n->url.c_str (), current_ini_sig_name.c_str (), myFeedback);
-	  // stop searching as soon as we find a setup file
-	  if (ini_file)
+	  // stop searching as soon as we find a ini file with a valid signature
+	  if (ini_file && !sig_fail)
 	    break;
 	}
       if (ini_file)