Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete rand.py #675

Merged
merged 8 commits into from Jul 25, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.rst
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
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.