openbsd-ports/security/p5-Crypt-Rijndael/patches/patch-rijndael_h
sturm 25569f07e8 import of p5-Crypt-Rijndael 0.05
submitted by Claudio Jeker <cjeker@diehard.n-r-g.com>

This is Crypt::Rijndael, an XS-based implementation of the newly-selected
Advanced Encryption Standard algorithm Rijndael, designed by Joan Daemen
and Vincent Rijmen.

naddy@ OK
2002-12-04 15:46:51 +00:00

17 lines
483 B
Plaintext

$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. */