diff options
author | Jussi Kivilinna <jussi.kivilinna@iki.fi> | 2013-11-06 16:51:55 +0200 |
---|---|---|
committer | Jussi Kivilinna <jussi.kivilinna@iki.fi> | 2013-11-06 16:51:55 +0200 |
commit | 84bcb400e7db7268abfc29b5ab1513b0c063b293 (patch) | |
tree | 89179790846346fee8b7bbd131eccc86ff659595 | |
parent | 6d169b654c7ff04c10f73afe80b2c70cefa410c1 (diff) | |
download | libgcrypt-84bcb400e7db7268abfc29b5ab1513b0c063b293.tar.gz |
Fix 'u32' build error with Camellia
* cipher/camellia.c: Add include for <config.h> and "types.h".
(u32): Remove.
(u8): Typedef as 'byte'.
--
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
-rw-r--r-- | cipher/camellia.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cipher/camellia.c b/cipher/camellia.c index 9067246d..e7085a7e 100644 --- a/cipher/camellia.c +++ b/cipher/camellia.c @@ -22,15 +22,15 @@ * http://info.isl.ntt.co.jp/crypt/eng/camellia/specifications.html */ +#include <config.h> #include <string.h> #include <stdlib.h> +#include "types.h" #include "bufhelp.h" #include "camellia.h" -/* u32 must be 32bit word */ -typedef unsigned int u32; -typedef unsigned char u8; +typedef byte u8; /* key constants */ |