diff options
author | Benjamin Peterson <benjamin@python.org> | 2016-07-07 06:55:15 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2016-07-07 06:55:15 (GMT) |
commit | b8a2f51ceb636878ec767554eddbb11ff4502c55 (patch) | |
tree | ec04fad6ca54ca6c7054479471b7c2ac674a8b94 /Modules/_ssl.c | |
parent | 27007dccec8ce20ee95e45492643bc1407326abc (diff) | |
download | cpython-b8a2f51ceb636878ec767554eddbb11ff4502c55.zip cpython-b8a2f51ceb636878ec767554eddbb11ff4502c55.tar.gz cpython-b8a2f51ceb636878ec767554eddbb11ff4502c55.tar.bz2 |
assume egd unless OPENSSL_NO_EGD is defined—remove configure check (closes #24557)
Diffstat (limited to 'Modules/_ssl.c')
-rw-r--r-- | Modules/_ssl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c index 1117b55..ddf8e45 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c @@ -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 */ |