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

Use uint8_t for hash_file buffer.

parent 1a1f8a0c
2016-08-16 Niels Möller <>
* examples/io.c (hash_file): Use uint8_t for buffer.
* sexp.c (sexp_iterator_check_type, sexp_iterator_check_types)
(sexp_iterator_assoc): Use const char * for caller's expression
types. Updated all callers.
......@@ -189,7 +189,7 @@ hash_file(const struct nettle_hash *hash, void *ctx, FILE *f)
for (;;)
char buffer[BUFSIZE];
uint8_t buffer[BUFSIZE];
size_t res = fread(buffer, 1, sizeof(buffer), f);
if (ferror(f))
return 0;
Supports Markdown
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