diff options
author | Victor Stinner <vstinner@python.org> | 2022-06-24 09:05:53 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-24 09:05:53 (GMT) |
commit | d435a18c537a62a89a70005885e6e09f58997d8a (patch) | |
tree | e75b29c5d7932475dc06e9c6eed13b8d47dabdb4 /Lib/ssl.py | |
parent | 6e33ba114ffb47505fec59674c5cce5eb6476f76 (diff) | |
download | cpython-d435a18c537a62a89a70005885e6e09f58997d8a.zip cpython-d435a18c537a62a89a70005885e6e09f58997d8a.tar.gz cpython-d435a18c537a62a89a70005885e6e09f58997d8a.tar.bz2 |
gh-94199: Remove ssl.RAND_pseudo_bytes() function (#94202)
Remove the ssl.RAND_pseudo_bytes() function, deprecated in Python
3.6: use os.urandom() or ssl.RAND_bytes() instead.
Diffstat (limited to 'Lib/ssl.py')
-rw-r--r-- | Lib/ssl.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -106,7 +106,7 @@ from _ssl import ( SSLSyscallError, SSLEOFError, SSLCertVerificationError ) from _ssl import txt2obj as _txt2obj, nid2obj as _nid2obj -from _ssl import RAND_status, RAND_add, RAND_bytes, RAND_pseudo_bytes +from _ssl import RAND_status, RAND_add, RAND_bytes try: from _ssl import RAND_egd except ImportError: |