svn: /phpdoc/en/trunk/ language-snippets.ent
| From: | Adam Harvey | Date: | Tue, 27 Oct 2015 09:53:52 +0000 |
| Subject: | svn: /phpdoc/en/trunk/ language-snippets.ent | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-13812@lists.php.net to get a copy of this message | ||
aharvey Tue, 27 Oct 2015 09:53:52 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=338030
Log:
Update CSPRNG sources per the latest 7.0 commits.
Changed paths:
U phpdoc/en/trunk/language-snippets.ent
Modified: phpdoc/en/trunk/language-snippets.ent
===================================================================
--- phpdoc/en/trunk/language-snippets.ent 2015-10-26 22:36:14 UTC (rev 338029)
+++ phpdoc/en/trunk/language-snippets.ent 2015-10-27 09:53:52 UTC (rev 338030)
@@ -2137,28 +2137,22 @@
<itemizedlist xmlns="http://docbook.org/ns/docbook">
<listitem>
<simpara>
- On Windows, <link xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="&url.csprng.crypt-gen-random;">
- <function>CryptGenRandom</function></link> will always be used.
+ On Windows,
+ <link xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="&url.csprng.crypt-gen-random;"><function>CryptGenRandom</function></link>
+ will always be used.
</simpara>
</listitem>
<listitem>
<simpara>
- On other platforms, <function>arc4random_buf</function> will be used if it
- is available. This is generally only true on BSD derivatives or systems
- with libbsd.
- </simpara>
- </listitem>
- <listitem>
- <simpara>
- Failing the above, a Linux
+ On Linux, the
<link xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="&url.csprng.get-random-2;">getrandom(2)</link>
syscall will be used if available.
</simpara>
</listitem>
<listitem>
<simpara>
- If all else fails <filename>/dev/urandom</filename> will be used as the
- final fallback.
+ <filename>/dev/urandom</filename> will be used on other platforms, or as a
+ fallback if the earlier functions fail on Linux or Windows.
</simpara>
</listitem>
<listitem>