Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-02-22 | Fix typos in documentation (codespell) | Michael Vogt | |
2013-06-24 | fix SHA2* cleanups to zero-out the complete context | David Kalnischkies | |
GCC 4.8 is now clever enough to warn about: contrib/sha2_internal.cc: In function ‘char* SHA256_End(SHA256_CTX*, char*)’: contrib/sha2_internal.cc:656:31: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] MEMSET_BZERO(context, sizeof(context)); So fix it as suggested. Its interesting though that the SHA2* calculation as far as we need it works even without zeroing out. Git-Dch: Ignore | |||
2012-04-20 | * apt-pkg/contrib/sha2_internal.cc: | David Kalnischkies | |
- do not use the input data directly but memcpy it instead as it could be unaligned as in the http-transport which causes a sigbus error on sparc (Closes: #669061) | |||
2011-10-30 | * apt-pkg/contrib/sha2_internal.cc: | David Kalnischkies | |
- use a pointer-union to peace gcc strict-aliasing warning | |||
2011-09-13 | reorder includes: add <config.h> if needed and include it at first | David Kalnischkies | |
2011-06-29 | Make private sha2 functions static | Matt Emmerton | |
(freebsd which can be considered the "official" upstream has applied it) | |||
2011-02-25 | move sha512,256 into apt-pkg/sha2.{cc,h}, move gifford implementation to ↵ | Michael Vogt | |
sha2_internal.{cc,h} |