bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fix list of crypto devices for Solaris


From: Bruno Haible
Subject: fix list of crypto devices for Solaris
Date: Sun, 31 May 2020 12:57:10 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-177-generic; KDE/5.18.0; x86_64; ; )

Solaris too (even Solaris 9) has /dev/random and /dev/urandom. The
manpage credits Linux:

     An  implementation  of  the  /dev/random  and   /dev/urandom
     kernel-based random number generator first appeared in Linux
     1.3.30.


2020-05-31  Bruno Haible  <bruno@clisp.org>

        crypto/gc-random: Fix list of crypto devices for Solaris.
        * m4/gc-random.m4 (gl_GC_RANDOM): Don't special-case Solaris.

diff --git a/m4/gc-random.m4 b/m4/gc-random.m4
index 15751cb..a7812a3 100644
--- a/m4/gc-random.m4
+++ b/m4/gc-random.m4
@@ -1,4 +1,4 @@
-# gc-random.m4 serial 8
+# gc-random.m4 serial 9
 dnl Copyright (C) 2005-2020 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -18,7 +18,7 @@ AC_DEFUN([gl_GC_RANDOM],
       NAME_OF_NONCE_DEVICE="/dev/urandom"
       ;;
 
-    *solaris* | *irix* | *dec-osf* )
+    *irix* | *dec-osf* )
       NAME_OF_RANDOM_DEVICE="/dev/random"
       NAME_OF_PSEUDO_RANDOM_DEVICE="/dev/random"
       NAME_OF_NONCE_DEVICE="/dev/random"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]