From 06783b396ec348ca9b28192a90b64167ffb11f5e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Sat, 28 Sep 2002 15:58:03 +0200
Subject: [PATCH] (Randomness): Documented that yarrow256_init can be called
 with a zero number of sources.

Rev: src/nettle/nettle.texinfo:1.17
---
 nettle.texinfo | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/nettle.texinfo b/nettle.texinfo
index ef1c22d2..b10b5a23 100644
--- a/nettle.texinfo
+++ b/nettle.texinfo
@@ -1747,7 +1747,9 @@ The size of the Yarrow-256 seed file.
 @end defvr
 
 @deftypefun void yarrow256_init (struct yarrow256_ctx *@var{ctx}, unsigned @var{nsources}, struct yarrow_source *@var{sources})
-Initializes the yarrow context, and its @var{nsources} sources.
+Initializes the yarrow context, and its @var{nsources} sources. It's
+possible to use call it with @var{nsources}=0 and @var{sources}=NULL, if
+you don't need the update features.
 @end deftypefun
 
 @deftypefun void yarrow256_seed (struct yarrow256_ctx *@var{ctx}, unsigned @var{length}, uint8_t *@var{seed_file})
-- 
GitLab