summaryrefslogtreecommitdiffstats
path: root/Modules/_ssl.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-07-07 06:58:16 (GMT)
committerBenjamin Peterson <benjamin@python.org>2016-07-07 06:58:16 (GMT)
commit50600a78cb6b0e4ea47033a2fd5e982c20a5d946 (patch)
tree766e594bf7dd7507f2ffb9f0844fbed5c61e82b6 /Modules/_ssl.c
parentc13d85bf8d769bba49c737c326b483b257a997b0 (diff)
parentb8a2f51ceb636878ec767554eddbb11ff4502c55 (diff)
downloadcpython-50600a78cb6b0e4ea47033a2fd5e982c20a5d946.zip
cpython-50600a78cb6b0e4ea47033a2fd5e982c20a5d946.tar.gz
cpython-50600a78cb6b0e4ea47033a2fd5e982c20a5d946.tar.bz2
merge 3.5 (#24557)
Diffstat (limited to 'Modules/_ssl.c')
-rw-r--r--Modules/_ssl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c
index ead5b0e..1c684b1 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 */