[Python-checkins] cpython (merge 3.4 -> 3.4): Merge heads

serhiy.storchaka python-checkins at python.org
Fri Apr 10 15:23:16 CEST 2015


https://hg.python.org/cpython/rev/4232eb53a036
changeset:   95531:4232eb53a036
branch:      3.4
parent:      95528:51a7e35833e1
parent:      95522:f85ac33b12a1
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Fri Apr 10 16:21:58 2015 +0300
summary:
  Merge heads

files:
  Doc/library/ssl.rst |  4 ++++
  1 files changed, 4 insertions(+), 0 deletions(-)


diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst
--- a/Doc/library/ssl.rst
+++ b/Doc/library/ssl.rst
@@ -292,6 +292,8 @@
    can be used to check the status of the PRNG and :func:`RAND_add` can be used
    to seed the PRNG.
 
+   For almost all applications :func:`os.urandom` is preferable.
+
    Read the Wikipedia article, `Cryptographically secure pseudorandom number
    generator (CSPRNG)
    <http://en.wikipedia.org/wiki/Cryptographically_secure_pseudorandom_number_generator>`_,
@@ -311,6 +313,8 @@
    for non-cryptographic purposes and for certain purposes in cryptographic
    protocols, but usually not for key generation etc.
 
+   For almost all applications :func:`os.urandom` is preferable.
+
    .. versionadded:: 3.3
 
 .. function:: RAND_status()

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list