openbsd-ports/net/radiusd-cistron/patches/patch-src_md5_h
danh 4a235c98de unsigned long was assumed to be 32 bits. fixes a crash on sparc64
originally reported by Matt Hess.

ok naddy@
2002-09-30 15:19:40 +00:00

13 lines
497 B
Plaintext

$OpenBSD: patch-src_md5_h,v 1.1 2002/09/30 15:19:40 danh Exp $
--- src/md5.h.orig Sun Sep 29 23:43:44 2002
+++ src/md5.h Sun Sep 29 23:44:05 2002
@@ -21,7 +21,7 @@ typedef unsigned char *POINTER;
typedef unsigned short int UINT2;
/* UINT4 defines a four byte word */
-#if defined(__alpha) && (defined(__osf__) || defined(__linux__))
+#if defined(__alpha) && (defined(__osf__) || defined(__linux__)) || defined(__OpenBSD__)
typedef unsigned int UINT4;
#else
typedef unsigned long int UINT4;