Commit e3327b12 authored by Niels Möller's avatar Niels Möller
Browse files

Use uint32_T and friends, not UINT32.

Rev: src/testsuite/testutils.c:1.8
parent 4e1a0d4c
...@@ -60,8 +60,8 @@ struct lsh_string * ...@@ -60,8 +60,8 @@ struct lsh_string *
decode_hex(const char *h) decode_hex(const char *h)
{ {
const unsigned char *hex = (const unsigned char *) h; const unsigned char *hex = (const unsigned char *) h;
UINT32 length = decode_hex_length(h); uint32_t length = decode_hex_length(h);
UINT8 *dst; uint8_t *dst;
unsigned i = 0; unsigned i = 0;
struct lsh_string *s = ssh_format("%lr", length, &dst); struct lsh_string *s = ssh_format("%lr", length, &dst);
...@@ -170,7 +170,7 @@ struct bad_random ...@@ -170,7 +170,7 @@ struct bad_random
}; };
static void static void
do_bad_random(struct randomness *r, UINT32 length, UINT8 *dst) do_bad_random(struct randomness *r, uint32_t length, uint8_t *dst)
{ {
struct bad_random *self = (struct bad_random *) r; struct bad_random *self = (struct bad_random *) r;
knuth_lfib_random(self->ctx, length, dst); knuth_lfib_random(self->ctx, length, dst);
...@@ -187,7 +187,7 @@ test_sign(const char *name, ...@@ -187,7 +187,7 @@ test_sign(const char *name,
struct signer *s; struct signer *s;
struct verifier *v; struct verifier *v;
struct sexp_iterator i; struct sexp_iterator i;
UINT8 *decoded; uint8_t *decoded;
struct knuth_lfib_ctx ctx; struct knuth_lfib_ctx ctx;
struct bad_random r = { { STACK_HEADER, RANDOM_GOOD /* a lie */, struct bad_random r = { { STACK_HEADER, RANDOM_GOOD /* a lie */,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment