Lines 3325-3331
Returns 1 if the OpenSSL PRNG has been s
Link Here
|
3325 |
It is necessary to seed the PRNG with RAND_add() on some platforms before\n\ |
3325 |
It is necessary to seed the PRNG with RAND_add() on some platforms before\n\ |
3326 |
using the ssl() function."); |
3326 |
using the ssl() function."); |
3327 |
|
3327 |
|
3328 |
#ifdef HAVE_RAND_EGD |
3328 |
#ifndef OPENSSL_NO_EGD |
3329 |
static PyObject * |
3329 |
static PyObject * |
3330 |
PySSL_RAND_egd(PyObject *self, PyObject *args) |
3330 |
PySSL_RAND_egd(PyObject *self, PyObject *args) |
3331 |
{ |
3331 |
{ |
Lines 3753-3759
static PyMethodDef PySSL_methods[] = {
Link Here
|
3753 |
PySSL_RAND_bytes_doc}, |
3753 |
PySSL_RAND_bytes_doc}, |
3754 |
{"RAND_pseudo_bytes", PySSL_RAND_pseudo_bytes, METH_VARARGS, |
3754 |
{"RAND_pseudo_bytes", PySSL_RAND_pseudo_bytes, METH_VARARGS, |
3755 |
PySSL_RAND_pseudo_bytes_doc}, |
3755 |
PySSL_RAND_pseudo_bytes_doc}, |
3756 |
#ifdef HAVE_RAND_EGD |
3756 |
#ifndef OPENSSL_NO_EGD |
3757 |
{"RAND_egd", PySSL_RAND_egd, METH_VARARGS, |
3757 |
{"RAND_egd", PySSL_RAND_egd, METH_VARARGS, |
3758 |
PySSL_RAND_egd_doc}, |
3758 |
PySSL_RAND_egd_doc}, |
3759 |
#endif |
3759 |
#endif |