[git] GCRYPT - branch, LIBGCRYPT-1.8-BRANCH, updated. libgcrypt-1.8.1-2-g71a0770

by Jeremie Courreges-Anglas cvs at cvs.gnupg.org
Tue Nov 7 05:24:03 CET 2017


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, LIBGCRYPT-1.8-BRANCH has been updated
       via  71a07704ad98b7c3b776629336fbffff1dfeaaeb (commit)
      from  eb8f35243916132e10125e9e9edb066e8f1edd08 (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 71a07704ad98b7c3b776629336fbffff1dfeaaeb
Author: Jeremie Courreges-Anglas <jca at wxcvbn.org>
Date:   Mon Nov 6 14:57:28 2017 +0900

    build: Don't use /dev/srandom on OpenBSD.
    
    --
    
    Ported from GnuPG 1.4.
    
    All /dev/*random devices have been equivalent since OpenBSD 4.9, on
    purpose (/dev/random doesn't block).  /dev/srandom has been removed in
    the OpenBSD 6.3 development cycle, /dev/arandom will likely follow.
    
    Signed-off-by: Jeremie Courreges-Anglas <jca at wxcvbn.org>

diff --git a/configure.ac b/configure.ac
index e24e710..6c23a04 100644
--- a/configure.ac
+++ b/configure.ac
@@ -315,21 +315,8 @@ case "${host}" in
         ;;
 esac
 
-#
-# Figure out the name of the random device
-#
-case "${host}" in
-    *-openbsd*)
-        NAME_OF_DEV_RANDOM="/dev/srandom"
-        NAME_OF_DEV_URANDOM="/dev/urandom"
-        ;;
-
-    *)
-        NAME_OF_DEV_RANDOM="/dev/random"
-        NAME_OF_DEV_URANDOM="/dev/urandom"
-        ;;
-esac
-
+NAME_OF_DEV_RANDOM="/dev/random"
+NAME_OF_DEV_URANDOM="/dev/urandom"
 
 AC_ARG_ENABLE(endian-check,
               AC_HELP_STRING([--disable-endian-check],

-----------------------------------------------------------------------

Summary of changes:
 configure.ac | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)


hooks/post-receive
-- 
The GNU crypto library
http://git.gnupg.org




More information about the Gnupg-commits mailing list