David Rose 16 years ago
parent
commit
83e6ecc1a4
1 changed files with 4 additions and 0 deletions
  1. 4 0
      panda/src/express/patchfile.cxx

+ 4 - 0
panda/src/express/patchfile.cxx

@@ -54,6 +54,10 @@ istream *Patchfile::_tar_istream = NULL;
 //   4 bytes  length of resulting patched file
 //  16 bytes  MD5 of resultant patched file
 
+// Note that MD5 hashes are written in the order observed by
+// HashVal::read_stream() and HashVal::write_stream(), which is not
+// the normal linear order.  (Each group of four bytes is reversed.)
+
 const int _v0_header_length = 4 + 4 + 16;
 const int _v1_header_length = 4 + 2 + 4 + 16 + 4 + 16;
 //