mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
assume egd unless OPENSSL_NO_EGD is defined—remove configure check (closes #24557)
This commit is contained in:
parent
27007dccec
commit
b8a2f51ceb
6 changed files with 156 additions and 131 deletions
|
|
@ -3938,7 +3938,7 @@ _ssl_RAND_status_impl(PyModuleDef *module)
|
|||
return PyLong_FromLong(RAND_status());
|
||||
}
|
||||
|
||||
#ifdef HAVE_RAND_EGD
|
||||
#ifndef OPENSSL_NO_EGD
|
||||
/*[clinic input]
|
||||
_ssl.RAND_egd
|
||||
path: object(converter="PyUnicode_FSConverter")
|
||||
|
|
@ -3964,7 +3964,7 @@ _ssl_RAND_egd_impl(PyModuleDef *module, PyObject *path)
|
|||
}
|
||||
return PyLong_FromLong(bytes);
|
||||
}
|
||||
#endif /* HAVE_RAND_EGD */
|
||||
#endif /* OPENSSL_NO_EGD */
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue