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

restore a subset of the rand module #708

Merged
merged 4 commits into from
Nov 20, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
flake
  • Loading branch information
reaperhulk committed Nov 20, 2017
commit 121f4e5fee5e8d35429b22ba6113689ff4884c3e
6 changes: 1 addition & 5 deletions src/OpenSSL/rand.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
PRNG management routines, thin wrappers.
"""

from OpenSSL._util import (
ffi as _ffi,
lib as _lib,
exception_from_error_queue as _exception_from_error_queue,
path_string as _path_string)
from OpenSSL._util import lib as _lib


_builtin_bytes = bytes
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't needed, just use bytes below.

Expand Down