forked from Lainports/freebsd-ports
Isomd5sum is a collection of utilities for implanting and checking MD5 checksums within an ISO9660 image. A checksum is implanted in an image using the implantisomd5 utility, and the corresponding checkisomd5 utility can be used to verify burned CDs are error-free. Also included is a Python extension for performing these tasks. PR: ports/125013 Submitted by: Mykola Marzhan <delgod@portaone.com>
19 lines
567 B
C
19 lines
567 B
C
--- ./md5.c.orig 2008-02-08 04:30:07.000000000 +0000
|
|
+++ ./md5.c 2008-06-17 17:05:34.000000000 +0000
|
|
@@ -20,13 +20,13 @@
|
|
*/
|
|
|
|
#include <string.h>
|
|
-#include <endian.h>
|
|
+#include <sys/endian.h>
|
|
#include "md5.h"
|
|
|
|
void MD5_Transform(uint32 *buf, uint32 const *in);
|
|
|
|
-#define IS_BIG_ENDIAN() (__BYTE_ORDER == __BIG_ENDIAN)
|
|
-#define IS_LITTLE_ENDIAN() (__BYTE_ORDER == __LITTLE_ENDIAN)
|
|
+#define IS_BIG_ENDIAN() (_BYTE_ORDER == _BIG_ENDIAN)
|
|
+#define IS_LITTLE_ENDIAN() (_BYTE_ORDER == _LITTLE_ENDIAN)
|
|
|
|
static void byteReverse(unsigned char *buf, unsigned longs);
|
|
|