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

Fix fall through warnings in spki code.

parent c3dcd2e2
2021-01-27 Niels Möller <>
* tools/misc.h (die): Declare as NORETURN.
* tag.c (spki_tag_release): Add missing break.
* (CFLAGS): Disable gcc pointer signedness warnings.
* parse.c (spki_gperf): Change length type to size_t, for
......@@ -429,6 +429,8 @@ spki_tag_release(void *ctx, nettle_realloc_func *realloc,
spki_string_release(ctx, realloc, self->display);
spki_string_release(ctx, realloc, self->lower);
spki_string_release(ctx, realloc, self->upper);
......@@ -31,7 +31,7 @@ void *
xalloc(size_t size);
die(const char *format, ...);
die(const char *format, ...) NORETURN;
uint8_t *
hash_file(const struct nettle_hash *hash, FILE *f);
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