The below seems to be the minimal patch to enable compilation with nettle-3.4 (and breaking support for earlier nettle versions in the process). Something more elaborate based on NETTLE_VERSION_MAJOR, NETTLE_VERSION_MINOR is possible, but I'm not sure it's needed.
Regards, /Niels diff --git a/src/dummy.c b/src/dummy.c index c33c8869..72fd5185 100644 --- a/src/dummy.c +++ b/src/dummy.c @@ -113,14 +113,14 @@ base64_encode_init(struct base64_encode_ctx *ctx UNUSED) size_t base64_encode_update(struct base64_encode_ctx *ctx UNUSED, - uint8_t *dst UNUSED, + char *dst UNUSED, size_t length UNUSED, const uint8_t *src UNUSED) { abort(); } size_t base64_encode_final(struct base64_encode_ctx *ctx UNUSED, - uint8_t *dst UNUSED) + char *dst UNUSED) { abort(); } void @@ -132,7 +132,7 @@ base64_decode_update(struct base64_decode_ctx *ctx UNUSED, size_t *dst_length UNUSED, uint8_t *dst UNUSED, size_t src_length UNUSED, - const uint8_t *src UNUSED) + const char *src UNUSED) { abort(); } int -- Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677. Internet email is subject to wholesale government surveillance.