Skip to content

Commit

Permalink
Delete rand.py (#675)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex authored and hynek committed Jul 25, 2017
1 parent 209de94 commit 23c965e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 343 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ Backward-incompatible changes:

- Dropped support for Python 3.3.
`#677 <https://github.com/pyca/pyopenssl/pull/677>`_
- Removed the deprecated ``OpenSSL.rand`` module.
This is being done ahead of our normal deprecation schedule due to its lack of use and the fact that it was becoming a maintenance burden.
``os.urandom()`` should be used instead.
`#675 <https://github.com/pyca/pyopenssl/pull/675>`_


Deprecations:
Expand Down
4 changes: 2 additions & 2 deletions src/OpenSSL/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
pyOpenSSL - A simple wrapper around the OpenSSL library
"""

from OpenSSL import rand, crypto, SSL
from OpenSSL import crypto, SSL
from OpenSSL.version import (
__author__, __copyright__, __email__, __license__, __summary__, __title__,
__uri__, __version__,
)


__all__ = [
"SSL", "crypto", "rand",
"SSL", "crypto",

"__author__", "__copyright__", "__email__", "__license__", "__summary__",
"__title__", "__uri__", "__version__",
Expand Down
169 changes: 0 additions & 169 deletions src/OpenSSL/rand.py

This file was deleted.

172 changes: 0 additions & 172 deletions tests/test_rand.py

This file was deleted.

0 comments on commit 23c965e

Please sign in to comment.