openbsd-ports/security/p5-Crypt-Rijndael/patches/patch-rijndael_h

17 lines
483 B
Plaintext
Raw Normal View History

$OpenBSD: patch-rijndael_h,v 1.1.1.1 2002/12/04 15:46:51 sturm Exp $
--- rijndael.h.orig Wed Dec 4 10:35:35 2002
+++ rijndael.h Wed Dec 4 10:30:00 2002
@@ -26,9 +26,10 @@
#define RIJNDAEL_H
#include <stdlib.h>
+#include <sys/types.h>
-typedef unsigned long UINT32;
-typedef unsigned char UINT8;
+typedef u_int32_t UINT32;
+typedef u_int8_t UINT8;
/* Other block sizes and key lengths are possible, but in the context of
* the ssh protocols, 256 bits is the default. */