summaryrefslogtreecommitdiffstats
path: root/Lib/ssl.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-05-24 10:05:19 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-05-24 10:05:19 (GMT)
commit99c8b1614319ce0161835ade223cdd395f0126d4 (patch)
treeabe0d388da458164d5fe6fcfe6a3cac5619e531d /Lib/ssl.py
parentb7b1930fe374317c380e49add9fb4cc2267367e9 (diff)
downloadcpython-99c8b1614319ce0161835ade223cdd395f0126d4.zip
cpython-99c8b1614319ce0161835ade223cdd395f0126d4.tar.gz
cpython-99c8b1614319ce0161835ade223cdd395f0126d4.tar.bz2
Issue #12049: Add RAND_bytes() and RAND_pseudo_bytes() functions to the ssl
module.
Diffstat (limited to 'Lib/ssl.py')
-rw-r--r--Lib/ssl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ssl.py b/Lib/ssl.py
index f938dc9..1a7f599 100644
--- a/Lib/ssl.py
+++ b/Lib/ssl.py
@@ -63,7 +63,7 @@ from _ssl import OPENSSL_VERSION_NUMBER, OPENSSL_VERSION_INFO, OPENSSL_VERSION
from _ssl import _SSLContext, SSLError
from _ssl import CERT_NONE, CERT_OPTIONAL, CERT_REQUIRED
from _ssl import OP_ALL, OP_NO_SSLv2, OP_NO_SSLv3, OP_NO_TLSv1
-from _ssl import RAND_status, RAND_egd, RAND_add
+from _ssl import RAND_status, RAND_egd, RAND_add, RAND_bytes, RAND_pseudo_bytes
from _ssl import (
SSL_ERROR_ZERO_RETURN,
SSL_ERROR_WANT_READ,