summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2017-06-25 16:17:15 -0400
committerPaul Kehrer <paul.l.kehrer@gmail.com>2017-06-25 10:17:15 -1000
commitf8022d6a1d315ebcfe6cc25ae07dd8d3bd0cf1b4 (patch)
treeac91d16c6a30617cbf01a7c4621203eb958d3e03
parentce98ee6075399343ee4580dc334e6bc38bfbc221 (diff)
downloadpyopenssl-f8022d6a1d315ebcfe6cc25ae07dd8d3bd0cf1b4.tar.gz
Drop some dead code, cryptography has _never_ bound RAND_screen (#641)
-rw-r--r--src/OpenSSL/rand.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/OpenSSL/rand.py b/src/OpenSSL/rand.py
index 09cf988..cf2053f 100644
--- a/src/OpenSSL/rand.py
+++ b/src/OpenSSL/rand.py
@@ -157,22 +157,6 @@ def write_file(filename):
return _lib.RAND_write_file(filename)
-# TODO There are no tests for screen at all
-def screen():
- """
- Add the current contents of the screen to the PRNG state.
-
- Availability: Windows.
-
- :return: None
- """
- _lib.RAND_screen()
-
-
-if getattr(_lib, 'RAND_screen', None) is None:
- del screen
-
-
# TODO There are no tests for the RAND strings being loaded, whatever that
# means.
_lib.ERR_load_RAND_strings()