Skip to content

Commit 87a7a22

Browse files
committed
_ssl.RAND_egd was removed in b8d0fa0.
1 parent 6f3dae0 commit 87a7a22

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

Doc/library/ssl.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -354,9 +354,8 @@ Random generation
354354
.. function:: RAND_status()
355355

356356
Return ``True`` if the SSL pseudo-random number generator has been seeded
357-
with 'enough' randomness, and ``False`` otherwise. You can use
358-
:func:`ssl.RAND_egd` and :func:`ssl.RAND_add` to increase the randomness of
359-
the pseudo-random number generator.
357+
with 'enough' randomness, and ``False`` otherwise. Use :func:`ssl.RAND_add`
358+
to increase the randomness of the pseudo-random number generator.
360359

361360
.. function:: RAND_add(bytes, entropy, /)
362361

Lib/ssl.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,6 @@
110110
)
111111
from _ssl import txt2obj as _txt2obj, nid2obj as _nid2obj
112112
from _ssl import RAND_status, RAND_add, RAND_bytes
113-
try:
114-
from _ssl import RAND_egd
115-
except ImportError:
116-
# RAND_egd is not supported on some platforms
117-
pass
118113
from _ssl import get_sigalgs
119114

120115

0 commit comments

Comments
 (0)