summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/md5.cc
AgeCommit message (Collapse)Author
2016-09-01try not to call memcpy with length 0 in hash calculationsDavid Kalnischkies
memcpy is marked as nonnull for its input, but ignores the input anyhow if the declared length is zero. Our SHA2 implementations do this as well, it was "just" MD5 and SHA1 missing, so we add the length check here as well as along the callstack as it is really pointless to do all these method calls for "nothing". Reported-By: gcc -fsanitize=undefined
2014-03-13cleanup headers and especially #includes everywhereDavid Kalnischkies
Beside being a bit cleaner it hopefully also resolves oddball problems I have with high levels of parallel jobs. Git-Dch: Ignore Reported-By: iwyu (include-what-you-use)
2011-09-13Support large files in the complete toolset. Indexes of thisDavid Kalnischkies
size are pretty unlikely for now, but we need it for deb packages which could become bigger than 4GB now (LP: #815895)
2011-09-13reorder includes: add <config.h> if needed and include it at firstDavid Kalnischkies
2011-07-13move implementation of checksums around by abstracting even moreDavid Kalnischkies
2011-07-05apt-pkg/contrib/md5.cc: fix md5sum by using the right type (unsinged char*) ↵Michael Vogt
and avoiding a implicit cast this way
2011-02-25template based hashsum implementationMichael Vogt
2010-01-31merge r1966..1967 from lp:~donkult/apt/sidMichael Vogt
2009-07-16* apt-pkg/contrib/hashes.cc, apt-pkg/contrib/md5.cc:Julian Andres Klode
- Support reading until EOF if Size=0 to match behaviour of SHA1Summation and SHA256Summation
2007-09-10* make apt build with g++ 4.3Michael Vogt
2007-06-08* remove all the remaining #pragma implementationMichael Vogt
2005-05-23* merged with my apt--fixes--0 branchMichael Vogt
Patches applied: * apt@packages.debian.org/apt--misc-abi-changes--0--patch-4 Merge from mainline * apt@packages.debian.org/apt--misc-abi-changes--0--patch-5 Merge from mainline * apt@packages.debian.org/apt--misc-abi-changes--0--patch-6 Collapse both pkgAcquire::Run() methods into one, with a default value * michael.vogt@ubuntu.com--2005/apt--fixes--0--base-0 tag of apt@packages.debian.org/apt--main--0--patch-79 * michael.vogt@ubuntu.com--2005/apt--fixes--0--patch-1 * merged obvious fixes into the tree to make it easy for matt to merge * michael.vogt@ubuntu.com--2005/apt--fixes--0--patch-2 * more merges from otavio that looks good/uncritical * michael.vogt@ubuntu.com--2005/apt--fixes--0--patch-3 * merged Matts misc-abi-changes tree * michael.vogt@ubuntu.com--2005/apt--fixes--0--patch-4 * finalized the changelog for a ubuntu build * otavio@debian.org--2005/apt--fixes--0--base-0 tag of apt@packages.debian.org/apt--main--0--patch-71 * otavio@debian.org--2005/apt--fixes--0--patch-1 Fix comments about the need of xmlto * otavio@debian.org--2005/apt--fixes--0--patch-2 Fix a compile warning * otavio@debian.org--2005/apt--fixes--0--patch-3 Sync with apt--main--0--patch-76 * otavio@debian.org--2005/apt--fixes--0--patch-4 Sync with apt--main--0--patch-78 * otavio@debian.org--2005/apt--fixes--0--patch-5 Add fixes that was wrongly included on DDTP changes. * otavio@debian.org--2005/apt--fixes--0--patch-8 Add information about the other fixes include on this branch now. * otavio@debian.org--2005/apt--fixes--0--patch-9 Merge last changes from apt--main--0. * otavio@debian.org--2005/apt--fixes--0--patch-10 Fix warnings about min/max change in gcc-4.0 * otavio@debian.org--2005/apt--fixes--0--patch-11 Fix remaning warnings while compiling gcc-4.0 * otavio@debian.org--2005/apt--fixes--0--patch-12 Add changelog entry about the fixes for warnings while compiling using GCC 4.0 compiler.
2004-09-20G++3 fixes from RandolphArch Librarian
Author: jgg Date: 2001-05-13 05:15:03 GMT G++3 fixes from Randolph
2004-09-20HP-UX fixesArch Librarian
Author: jgg Date: 1999-12-10 23:40:29 GMT HP-UX fixes
2004-09-20Actually fixed md5Arch Librarian
Author: jgg Date: 1999-11-16 03:10:56 GMT Actually fixed md5
2004-09-20More MD5Arch Librarian
Author: jgg Date: 1999-11-16 01:51:03 GMT More MD5
2004-09-20More md5 fixesArch Librarian
Author: jgg Date: 1999-11-16 01:41:49 GMT More md5 fixes
2004-09-20Fixed cast macro in byteswapArch Librarian
Author: jgg Date: 1999-11-14 01:47:55 GMT Fixed cast macro in byteswap
2004-09-20Doc fixArch Librarian
Author: jgg Date: 1999-10-31 06:32:27 GMT Doc fix
2004-09-20Patched md5 a bit moreArch Librarian
Author: jgg Date: 1999-10-25 04:10:02 GMT Patched md5 a bit more
2004-09-20C9x typesArch Librarian
Author: jgg Date: 1999-10-25 03:36:41 GMT C9x types
2004-09-20A few functions migrated aroundArch Librarian
Author: jgg Date: 1999-08-02 03:07:47 GMT A few functions migrated around
2004-09-20New http methodArch Librarian
Author: jgg Date: 1998-11-01 05:27:29 GMT New http method
2004-09-20Md5 supportArch Librarian
Author: jgg Date: 1998-10-31 05:19:59 GMT Md5 support