summaryrefslogtreecommitdiff
path: root/include/asterisk/md5.h
AgeCommit message (Collapse)Author
2012-08-29Ensure alignment of in[] field in MD5Context struct.Richard Mudgett
The struct MD5Context character buffer is cast to an int32_t* without making sure that said buffer is aligned. Since the buffer follows two uint32_t's, the chance of 'in' being (32 bits) unaligned is nil in practice. But adding code to ensure that 'in' stays aligned costs nothing and removes all doubts about the casts being safe. (closes issue ASTERISK-20241) Reported by: Walter Doekes Patches: tmp.diff (license #5674) patch uploaded by Walter Doekes git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@371952 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-16Start untangling header inclusion in a way that does not affectLuigi Rizzo
build times - tested, there is no measureable difference before and after this commit. In this change: use asterisk/compat.h to include a small set of system headers: inttypes.h, unistd.h, stddef.h, stddint.h, sys/types.h, stdarg.h, stdlib.h, alloca.h, stdio.h Where available, the inclusion is conditional on HAVE_FOO_H as determined by autoconf. Normally, source files should not include any of the above system headers, and instead use either "asterisk.h" or "asterisk/compat.h" which does it better. For the time being I have left alone second-level directories (main/db1-ast, etc.). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89333 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29remove extraneous svn:executable propertiesKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-24Doxygen documentation update from oej (issue #5505)Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-30major header file cleanup: license, copyrights, descriptions, markers, etc.Kevin P. Fleming
remove deprecated config_old.c/config_old.h remove unused cvsid.h git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6454 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-06Include inttypes.h in md5.h instead of stdint.h (since stdint.h contains the ↵James Golovich
right info on freebsd and on linux inttypes.h includes stdint.h) (bug 1369) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2639 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-30Fix md5 on 64bit systems (aside from alpha)James Golovich
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2586 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2001-12-25Version 0.1.10 from FTPMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1999-12-23Version 0.1.2 from FTPMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@145 65c4cc65-6c06-0410-ace0-fbb531ad65f3