diff options
author | Greg Beaver <cellog@php.net> | 2003-08-31 06:08:41 +0000 |
---|---|---|
committer | Greg Beaver <cellog@php.net> | 2003-08-31 06:08:41 +0000 |
commit | 0e6f284a6239ff3dabba6ea1d691332fa47c88bc (patch) | |
tree | 45285cc69fc62aa6f1bfb1bfcaae36d085a8066b | |
parent | b0d74a9485d32df9b2dc33b6e7d4b786220070ba (diff) | |
download | php-git-0e6f284a6239ff3dabba6ea1d691332fa47c88bc.tar.gz |
fix #25322
-rw-r--r-- | pear/PEAR/Installer.php | 3 | ||||
-rw-r--r-- | pear/package-PEAR.xml | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/pear/PEAR/Installer.php b/pear/PEAR/Installer.php index efb28e41fd..d4057f4e8c 100644 --- a/pear/PEAR/Installer.php +++ b/pear/PEAR/Installer.php @@ -284,7 +284,8 @@ class PEAR_Installer extends PEAR_Common if (strtolower($md5sum) == strtolower($atts['md5sum'])) { $this->log(3, "md5sum ok: $final_dest_file"); } else { - $this->log(0, "warning : bad md5sum for file $final_dest_file"); + return $this->raiseError("bad md5sum for file $final_dest_file", + PEAR_INSTALLER_FAILED); } } if (!OS_WINDOWS) { diff --git a/pear/package-PEAR.xml b/pear/package-PEAR.xml index efc1567681..b378482af4 100644 --- a/pear/package-PEAR.xml +++ b/pear/package-PEAR.xml @@ -65,6 +65,7 @@ use of inadvisable @ in setErrorHandling pear install DB-1.2.tar to download as uncompressed tar * Fix #25008 - unhelpful error message * Fixed optional dependencies in Dependency.php +* Fix #25322 - bad md5sum should be fatal error </notes> <provides type="class" name="OS_Guess" /> <provides type="class" name="System" /> |