summaryrefslogtreecommitdiff
path: root/Modules/_cryptmodule.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2017-10-25 23:55:14 -0700
committerGitHub <noreply@github.com>2017-10-25 23:55:14 -0700
commit4eaf7f949069882e385f2297c9e70031caf9144c (patch)
tree49e06a8bb9d5893f2b70a6ed7d3338b6fb70404a /Modules/_cryptmodule.c
parent1896793520a49a6f97ae360c0b288967e56b005e (diff)
downloadcpython-git-4eaf7f949069882e385f2297c9e70031caf9144c.tar.gz
fixes bpo-31866: remove code pertaining to AtheOS support (#4115)
We stop support this OS in 2007 with commit 19fab761b71a1687aee3415db3a937b5ce31975d. Let's finish.
Diffstat (limited to 'Modules/_cryptmodule.c')
-rw-r--r--Modules/_cryptmodule.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Modules/_cryptmodule.c b/Modules/_cryptmodule.c
index 8e4737c7b4..58d179e6a3 100644
--- a/Modules/_cryptmodule.c
+++ b/Modules/_cryptmodule.c
@@ -34,8 +34,6 @@ static PyObject *
crypt_crypt_impl(PyObject *module, const char *word, const char *salt)
/*[clinic end generated code: output=0512284a03d2803c input=0e8edec9c364352b]*/
{
- /* On some platforms (AtheOS) crypt returns NULL for an invalid
- salt. Return None in that case. XXX Maybe raise an exception? */
return Py_BuildValue("s", crypt(word, salt));
}