[git] GCRYPT - branch, master, updated. libgcrypt-1.6.0-291-g468a579

by Justus Winter cvs at cvs.gnupg.org
Wed Dec 2 12:01:58 CET 2015

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU crypto library".

The branch, master has been updated
       via  468a5796ffb1a7776db4004d534376c1b981d740 (commit)
      from  3658afd09c3b03b4398aaa5748387220c93b1a94 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 468a5796ffb1a7776db4004d534376c1b981d740
Author: Justus Winter <justus at g10code.com>
Date:   Wed Dec 2 11:54:40 2015 +0100

    random: Fix selection of entropy gathering function.
    * random/random-csprng.c (getfnc_gather_random): Do return NULL if no
    usable entropy gathering function is found.  The callsite then
    installs the fake gather function.
    Signed-off-by: Justus Winter <justus at g10code.com>

diff --git a/random/random-csprng.c b/random/random-csprng.c
index dbebe98..88c5ff8 100644
--- a/random/random-csprng.c
+++ b/random/random-csprng.c
@@ -1151,9 +1151,9 @@ getfnc_gather_random (void))(void (*)(const void*, size_t,
   return fnc;
-  log_fatal (_("no entropy gathering module detected\n"));
+  log_info (_("no entropy gathering module detected\n"));
-  return NULL; /*NOTREACHED*/
+  return NULL;
 /* Runtime determination of the fast entropy gathering function.


Summary of changes:
 random/random-csprng.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

The GNU crypto library

Gnupg-commits mailing list
Gnupg-commits at gnupg.org

More information about the Gcrypt-devel mailing list