Menu

Commit [r645]  Maximize  Restore  History

Removed MD5 check code from file updater as a quick fix for bug #2970055. This is only a temporary fix until root problem is fixed.

delphidabbler 2010-03-18

changed /trunk/Src/UFileUpdater.pas
/trunk/Src/UFileUpdater.pas Diff Switch to side-by-side view
--- a/trunk/Src/UFileUpdater.pas
+++ b/trunk/Src/UFileUpdater.pas
@@ -155,10 +155,14 @@
   inherited Create;
   fLocalDir := LocalDir;
   fReader := TDataStreamReader.Create(UpdateData);
+  (* *** Following code removed as a temporary fix for Bug #2970055 ***
   // check data stream against its MD5 checksum
   MD5 := fReader.ReadString(32);
   if not TCheckSum.Compare(UpdateData, MD5) then
     raise EFileUpdater.Create(cDataCorruptError);
+  *** END *)
+  {TODO -odelphidabbler -cBugFix: Reinstate download error checking once main
+    cause of download error bug is properly fixed }
 end;
 
 destructor TFileUpdater.Destroy;
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.