From f8022d6a1d315ebcfe6cc25ae07dd8d3bd0cf1b4 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sun, 25 Jun 2017 16:17:15 -0400 Subject: Drop some dead code, cryptography has _never_ bound RAND_screen (#641) --- src/OpenSSL/rand.py | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src/OpenSSL/rand.py') 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() -- cgit v1.2.1