[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnulib-bug
Subject:    fix list of crypto devices for Solaris
From:       Bruno Haible <bruno () clisp ! org>
Date:       2020-05-31 10:57:10
Message-ID: 3602934.tRMx0zJf4E () omega
[Download RAW message or body]

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"


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic