From: Niels Möller Date: Tue, 24 Jun 2025 16:32:58 +0000 (+0200) Subject: Update call to sha256_digest in example. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d358d4e212f61d640ed77b1c5db35a10b13a577e;p=thirdparty%2Fnettle.git Update call to sha256_digest in example. --- diff --git a/nettle.texinfo b/nettle.texinfo index 7af9bc08..7be83f62 100644 --- a/nettle.texinfo +++ b/nettle.texinfo @@ -1415,7 +1415,7 @@ arcfour_set_key_hashed(struct arcfour_ctx *ctx, sha256_init(&hash); sha256_update(&hash, length, key); - sha256_digest(&hash, SHA256_DIGEST_SIZE, digest); + sha256_digest(&hash, digest); arcfour_set_key(ctx, SHA256_DIGEST_SIZE, digest); arcfour_crypt(ctx, sizeof(buffer), buffer, buffer);