diff options
author | bcook <bcook@cvs.openbsd.org> | 2014-07-11 08:47:48 +0000 |
---|---|---|
committer | bcook <bcook@cvs.openbsd.org> | 2014-07-11 08:47:48 +0000 |
commit | 3a313eb9792d5c5565a66f2d942d791a56b817ba (patch) | |
tree | fdcc58c5410b2698d8807c7cfde19bb79818b664 /lib | |
parent | 5ef2640927176a69e2156a367ee3966eb6c2a8c2 (diff) |
replace u_int8_t with uint8_t
ok beck@
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libssl/src/crypto/chacha/chacha-merged.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libssl/src/crypto/chacha/chacha-merged.c b/lib/libssl/src/crypto/chacha/chacha-merged.c index a665fb316fc..557dfd5b568 100644 --- a/lib/libssl/src/crypto/chacha/chacha-merged.c +++ b/lib/libssl/src/crypto/chacha/chacha-merged.c @@ -1,4 +1,4 @@ -/* $OpenBSD: chacha-merged.c,v 1.6 2014/06/24 18:12:09 jsing Exp $ */ +/* $OpenBSD: chacha-merged.c,v 1.7 2014/07/11 08:47:47 bcook Exp $ */ /* chacha-merged.c version 20080118 D. J. Bernstein @@ -7,6 +7,8 @@ Public domain. #include <sys/types.h> +#include <stdint.h> + #define CHACHA_MINKEYLEN 16 #define CHACHA_NONCELEN 8 #define CHACHA_CTRLEN 8 @@ -15,8 +17,8 @@ Public domain. struct chacha_ctx { u_int input[16]; - u_int8_t ks[CHACHA_BLOCKLEN]; - u_int8_t unused; + uint8_t ks[CHACHA_BLOCKLEN]; + uint8_t unused; }; static inline void chacha_keysetup(struct chacha_ctx *x, const u_char *k, |