diff options
author | Victor Stinner <vstinner@python.org> | 2022-06-24 11:05:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-24 11:05:53 +0200 |
commit | d435a18c537a62a89a70005885e6e09f58997d8a (patch) | |
tree | e75b29c5d7932475dc06e9c6eed13b8d47dabdb4 /Lib/ssl.py | |
parent | 6e33ba114ffb47505fec59674c5cce5eb6476f76 (diff) | |
download | cpython-git-d435a18c537a62a89a70005885e6e09f58997d8a.tar.gz |
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
diff --git a/Lib/ssl.py b/Lib/ssl.py index ebac1d60d5..7c990417c4 100644 --- a/Lib/ssl.py +++ b/Lib/ssl.py @@ -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: |