diff options
author | Nigel Metheringham <nigel@exim.org> | 2009-11-16 19:15:36 +0000 |
---|---|---|
committer | Nigel Metheringham <nigel@exim.org> | 2009-11-16 19:15:36 +0000 |
commit | 0eb8eedd73556dbf5bb59ee7ebaed5fee282afc1 (patch) | |
tree | cbe8a2dee5faf63b9c3827b77230bdd027a98bfd /doc | |
parent | f013fb920d2e20efabe9dfbdb3a34674e9ef8f75 (diff) |
Documentation for randint. Better randomness defaults. Fixes: #722
Diffstat (limited to 'doc')
-rw-r--r-- | doc/doc-docbook/spec.xfpt | 13 | ||||
-rw-r--r-- | doc/doc-txt/ChangeLog | 4 |
2 files changed, 15 insertions, 2 deletions
diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt index b640daec6..bf7a987b9 100644 --- a/doc/doc-docbook/spec.xfpt +++ b/doc/doc-docbook/spec.xfpt @@ -1,4 +1,4 @@ -. $Cambridge: exim/doc/doc-docbook/spec.xfpt,v 1.68 2009/11/16 19:10:45 nm4 Exp $ +. $Cambridge: exim/doc/doc-docbook/spec.xfpt,v 1.69 2009/11/16 19:15:36 nm4 Exp $ . . ///////////////////////////////////////////////////////////////////////////// . This is the primary source of the Exim Manual. It is an xfpt document that is @@ -9589,6 +9589,17 @@ For single-key lookup types, no quoting is ever necessary and this operator yields an unchanged string. +.vitem &*${randint:*&<&'n'&>&*}*& +.cindex "random number" +This operator returns a somewhat random number which is less than the +supplied number and is at least 0. The quality of this randomness depends +on how Exim was built; the values are not suitable for keying material. +If Exim is linked against OpenSSL then RAND_pseudo_bytes() is used. +Otherwise, the implementation may be arc4random(), random() seeded by +srandomdev() or srandom(), or a custom implementation even weaker than +random(). + + .vitem &*${rfc2047:*&<&'string'&>&*}*& .cindex "expansion" "RFC 2047" .cindex "RFC 2047" "expansion operator" diff --git a/doc/doc-txt/ChangeLog b/doc/doc-txt/ChangeLog index f823ee064..5d2f51e69 100644 --- a/doc/doc-txt/ChangeLog +++ b/doc/doc-txt/ChangeLog @@ -1,4 +1,4 @@ -$Cambridge: exim/doc/doc-txt/ChangeLog,v 1.595 2009/11/16 19:10:45 nm4 Exp $ +$Cambridge: exim/doc/doc-txt/ChangeLog,v 1.596 2009/11/16 19:15:36 nm4 Exp $ Change log file for Exim from version 4.21 ------------------------------------------- @@ -10,6 +10,8 @@ TK/01 Bugzilla 912: Fix DKIM segfault on empty headers/body NM/01 Bugzilla 913: Documentation fix for gnutls_* options. +NM/02 Bugzilla 722: Documentation for randint. Better randomness defaults. + Exim version 4.70 ----------------- |