Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: dev

[Bug 722] Need a random number generator

 

 

exim dev RSS feed   Index | Next | Previous | View Threaded


exim-dev at spodhuis

Nov 16, 2009, 5:34 AM

Post #1 of 4 (907 views)
Permalink
[Bug 722] Need a random number generator

------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=722




--- Comment #12 from Phil Pennock <exim-dev [at] spodhuis> 2009-11-16 13:34:06 ---
Created an attachment (id=348)
--> (http://bugs.exim.org/attachment.cgi?id=348)
Documentation for ${randint:...} expansion operator


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##


exim-dev at spodhuis

Nov 16, 2009, 5:57 AM

Post #2 of 4 (872 views)
Permalink
[Bug 722] Need a random number generator [In reply to]

------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=722

Phil Pennock <exim-dev [at] spodhuis> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #348 is|0 |1
obsolete| |




--- Comment #13 from Phil Pennock <exim-dev [at] spodhuis> 2009-11-16 13:57:02 ---
Created an attachment (id=350)
--> (http://bugs.exim.org/attachment.cgi?id=350)
Documentation for ${randint:...} expansion operator

*sigh* I can't even accurately document my own code on the first attempt.

Take 2.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##


exim-dev at spodhuis

Nov 16, 2009, 6:06 AM

Post #3 of 4 (867 views)
Permalink
[Bug 722] Need a random number generator [In reply to]

------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=722




--- Comment #14 from Phil Pennock <exim-dev [at] spodhuis> 2009-11-16 14:06:31 ---
Created an attachment (id=351)
--> (http://bugs.exim.org/attachment.cgi?id=351)
Enable better randomness by default

srandom() is very portable, so enable its usage by default.
Enable arc4random() on the BSDs, as it spread rapidly after OpenBSD 2.1.

So with this added, systems not using OpenSSL will, at the very least, be using
srandom() to see random().


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##


nigel at exim

Nov 16, 2009, 11:15 AM

Post #4 of 4 (865 views)
Permalink
[Bug 722] Need a random number generator [In reply to]

------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=722

Nigel Metheringham <nigel [at] exim> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED




--- Comment #15 from Nigel Metheringham <nigel [at] exim> 2009-11-16 19:15:37 ---
CVS commit by nm4:

Documentation for randint. Better randomness defaults. Fixes: bug#722

--- CVS commit summary ---
1.68 1.69 +11 -0 - exim/exim-doc/doc-docbook/spec.xfpt
1.595 1.596 +2 -0 - exim/exim-doc/doc-txt/ChangeLog
1.3 1.4 +2 -0 - exim/exim-src/OS/os.h-FreeBSD
1.5 1.6 +1 -0 - exim/exim-src/OS/os.h-NetBSD
1.1 1.2 +1 -0 - exim/exim-src/OS/os.h-OpenBSD
1.25 1.26 +5 -0 - exim/exim-src/src/exim.h


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##

exim dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.