diff options
| author | Bruce Momjian | 2001-11-20 15:50:53 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2001-11-20 15:50:53 +0000 |
| commit | 540155b777b3f4143fb2a1db36f029856f15a070 (patch) | |
| tree | 979601bdf84a55fea22f12e393054aa9a0f4eb86 /contrib/pgcrypto/rijndael.h | |
| parent | 01e0dae6896444b93f26cfe233155bbc7e33c0b8 (diff) | |
pgcrypto uses non-standard type uint, which causes compile
failures on FreeBSD. This patch replaces uint -> unsigned.
This was reported by Daniel Holtzman against 0.4pre3 standalone
package, but it needs fixing in contrib/pgcrypto too.
Marko Kreen
Diffstat (limited to 'contrib/pgcrypto/rijndael.h')
| -rw-r--r-- | contrib/pgcrypto/rijndael.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pgcrypto/rijndael.h b/contrib/pgcrypto/rijndael.h index 59a4be7edd..41c1a2a122 100644 --- a/contrib/pgcrypto/rijndael.h +++ b/contrib/pgcrypto/rijndael.h @@ -48,7 +48,7 @@ void rijndael_decrypt(rijndael_ctx *, const u4byte *, u4byte *); /* conventional interface */ -void aes_set_key(rijndael_ctx * ctx, const uint8 *key, uint keybits, int enc); +void aes_set_key(rijndael_ctx * ctx, const uint8 *key, unsigned keybits, int enc); void aes_ecb_encrypt(rijndael_ctx * ctx, uint8 *data, unsigned len); void aes_ecb_decrypt(rijndael_ctx * ctx, uint8 *data, unsigned len); void aes_cbc_encrypt(rijndael_ctx * ctx, uint8 *iva, uint8 *data, unsigned len); |
