mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
Version 0.1.12 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@475 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
14
md5.c
14
md5.c
@@ -1,23 +1,9 @@
|
|||||||
/* MD5 checksum routines used for authentication. Not covered by GPL, but
|
/* MD5 checksum routines used for authentication. Not covered by GPL, but
|
||||||
in the public domain as per the copyright below */
|
in the public domain as per the copyright below */
|
||||||
|
|
||||||
#ifdef FREEBSD
|
|
||||||
# include <machine/endian.h>
|
|
||||||
#elif defined(LINUX)
|
|
||||||
# include <endian.h>
|
|
||||||
#elif defined(SOLARIS)
|
|
||||||
/* each solaris is different -- this won't work on 2.6 or 2.7 */
|
|
||||||
# include <sys/isa_defs.h>
|
|
||||||
#endif
|
|
||||||
#if defined(__BYTE_ORDER) || defined(BYTE_ORDER)
|
|
||||||
# if __BYTE_ORDER == __BIG_ENDIAN || BYTE_ORDER == BIG_ENDIAN
|
# if __BYTE_ORDER == __BIG_ENDIAN || BYTE_ORDER == BIG_ENDIAN
|
||||||
# define HIGHFIRST 1
|
# define HIGHFIRST 1
|
||||||
# endif
|
# endif
|
||||||
#else /* ! *BYTE_ORDER */
|
|
||||||
# if defined(WORDS_BIGENDIAN)
|
|
||||||
# define HIGHFIRST 1
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This code implements the MD5 message-digest algorithm.
|
* This code implements the MD5 message-digest algorithm.
|
||||||
|
Reference in New Issue
Block a user