Skip to content

Commit

Permalink
Merge pull request #377 from matoro/master
Browse files Browse the repository at this point in the history
Don't export MD5 byteReverse symbol on big-endian
  • Loading branch information
Jovasa authored Dec 12, 2023
2 parents 91f04b4 + e19b792 commit f4294e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/extras/libmd5.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ static void MD5Transform(uint32_t buf[4], uint32_t const in[16]);
#ifndef __BIG_ENDIAN__
# define byteReverse(buf, len) /* Nothing */
#else
void byteReverse(uint32_t *buf, unsigned len);
static void byteReverse(uint32_t *buf, unsigned len);
/*
* Note: this code is harmless on little-endian machines.
*/
void byteReverse(uint32_t *buf, unsigned len)
static void byteReverse(uint32_t *buf, unsigned len)
{
uint32_t t;
do {
Expand Down

0 comments on commit f4294e0

Please sign in to comment.