From 8a1de8d6cb5656f335b49fa9f4159f82f51e374a Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Thu, 6 Jul 2017 22:40:07 -0400 Subject: Fixed #631 -- deprecate all of OpenSSL.rand (#658) * Fixed #631 -- deprecate all of OpenSSL.rand * syntax fix * flake8 --- doc/api.rst | 1 - doc/api/rand.rst | 41 ----------------------------------------- 2 files changed, 42 deletions(-) delete mode 100644 doc/api/rand.rst (limited to 'doc') diff --git a/doc/api.rst b/doc/api.rst index 826ec4d..b5ca3f2 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -14,5 +14,4 @@ OpenSSL library. The following modules are defined: :maxdepth: 2 api/crypto - api/rand api/ssl diff --git a/doc/api/rand.rst b/doc/api/rand.rst deleted file mode 100644 index 47460a8..0000000 --- a/doc/api/rand.rst +++ /dev/null @@ -1,41 +0,0 @@ -.. _openssl-rand: - -:mod:`rand` --- An interface to the OpenSSL pseudo random number generator -========================================================================== - -.. warning:: - Functions from this module shouldn't be used. - `Use urandom `_ instead. - - -.. py:module:: OpenSSL.rand - :synopsis: An interface to the OpenSSL pseudo random number generator - - -This module handles the OpenSSL pseudo random number generator (PRNG) and declares the following: - -.. autofunction:: add - -.. autofunction:: bytes - -.. autofunction:: cleanup - -.. autofunction:: load_file(filename[, bytes]) - -.. autofunction:: seed - -.. autofunction:: status - -.. autofunction:: write_file - - -.. function:: screen - - Add the current contents of the screen to the PRNG state. - - Availability: Windows. - - :return: :obj:`None` - - -.. autoexception:: Error -- cgit v1.2.1