apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r652872 - in /apr/apr/branches/1.3.x: CHANGES configure.in
Date Fri, 02 May 2008 18:55:47 GMT
Author: jorton
Date: Fri May  2 11:55:47 2008
New Revision: 652872

URL: http://svn.apache.org/viewvc?rev=652872&view=rev
Log:
Merge r652830 from trunk:

* configure.in: Prefer /dev/urandom over /dev/random.

PR: 44881
Submitted by: bojan
Reviewed by: jorton

Modified:
    apr/apr/branches/1.3.x/CHANGES
    apr/apr/branches/1.3.x/configure.in

Modified: apr/apr/branches/1.3.x/CHANGES
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.3.x/CHANGES?rev=652872&r1=652871&r2=652872&view=diff
==============================================================================
--- apr/apr/branches/1.3.x/CHANGES [utf-8] (original)
+++ apr/apr/branches/1.3.x/CHANGES [utf-8] Fri May  2 11:55:47 2008
@@ -1,6 +1,9 @@
                                                      -*- coding: utf-8 -*-
 Changes for APR 1.3.0
 
+  *) Use /dev/urandom in preference to /dev/random as entropy source
+     for apr_generate_random_bytes.  PR 44881.  [Bojan Smojver]
+
   *) Support OS/X sendfile by using writev in lieu of hdtr vecs
      miscounted by the OS.  [Geoff Greer <angryparsley mipsisrisc.com>]
 

Modified: apr/apr/branches/1.3.x/configure.in
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.3.x/configure.in?rev=652872&r1=652871&r2=652872&view=diff
==============================================================================
--- apr/apr/branches/1.3.x/configure.in (original)
+++ apr/apr/branches/1.3.x/configure.in Fri May  2 11:55:47 2008
@@ -1959,7 +1959,7 @@
   if test "$apr_devrandom" = "yes"; then
     # /dev/random on OpenBSD doesn't provide random data, so
     # prefer /dev/arandom, which does; see random(4).
-    for f in /dev/arandom /dev/random /dev/urandom; do
+    for f in /dev/arandom /dev/urandom /dev/random; do
       if test -r $f; then
         apr_devrandom=$f
         rand=1



Mime
View raw message