Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
004e15d7
Commit
004e15d7
authored
Aug 26, 2007
by
Neal Norwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Return a boolean for status
parent
e74ce05d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Modules/_ssl.c
Modules/_ssl.c
+4
-4
No files found.
Modules/_ssl.c
View file @
004e15d7
...
...
@@ -616,15 +616,15 @@ bound on the entropy contained in string.");
static
PyObject
*
PySSL_RAND_status
(
PyObject
*
self
)
{
return
Py
Int
_FromLong
(
RAND_status
());
return
Py
Bool
_FromLong
(
RAND_status
());
}
PyDoc_STRVAR
(
PySSL_RAND_status_doc
,
"RAND_status() -> 0 or 1
\n
\
\n
\
Returns
1 if the OpenSSL PRNG has been seeded with enough data and 0 if not.
\n
\
It is necessary to seed the PRNG with RAND_add() on some platforms before
\n
\
using the ssl() function."
);
Returns
True if the OpenSSL PRNG has been seeded with enough data and
\n
\
False if not. It is necessary to seed the PRNG with RAND_add()
\n
\
on some platforms before
using the ssl() function."
);
static
PyObject
*
PySSL_RAND_egd
(
PyObject
*
self
,
PyObject
*
arg
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment