diff options
| author | Sean Reifscheider <jafo@tummy.com> | 2011-02-22 10:55:44 +0000 |
|---|---|---|
| committer | Sean Reifscheider <jafo@tummy.com> | 2011-02-22 10:55:44 +0000 |
| commit | e2dfefbe85e0471c35062146a218aea2270ea600 (patch) | |
| tree | 779b690c9e097108530f75b9bf443f8566bd93d7 /Modules | |
| parent | f3042782af65fbf68ca7e343357144c676b3fd54 (diff) | |
| download | cpython-git-e2dfefbe85e0471c35062146a218aea2270ea600.tar.gz | |
Issue #10924: Adding salt and Modular Crypt Format to crypt library.
Diffstat (limited to 'Modules')
| -rw-r--r-- | Modules/Setup.dist | 2 | ||||
| -rw-r--r-- | Modules/_cryptmodule.c (renamed from Modules/cryptmodule.c) | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Modules/Setup.dist b/Modules/Setup.dist index e1c8fe48f8..56f331434c 100644 --- a/Modules/Setup.dist +++ b/Modules/Setup.dist @@ -207,7 +207,7 @@ _symtable symtablemodule.c # # First, look at Setup.config; configure may have set this for you. -#crypt cryptmodule.c # -lcrypt # crypt(3); needs -lcrypt on some systems +#_crypt _cryptmodule.c # -lcrypt # crypt(3); needs -lcrypt on some systems # Some more UNIX dependent modules -- off by default, since these diff --git a/Modules/cryptmodule.c b/Modules/_cryptmodule.c index d5a42ff951..51007889bf 100644 --- a/Modules/cryptmodule.c +++ b/Modules/_cryptmodule.c @@ -45,7 +45,7 @@ static PyMethodDef crypt_methods[] = { static struct PyModuleDef cryptmodule = { PyModuleDef_HEAD_INIT, - "crypt", + "_crypt", NULL, -1, crypt_methods, @@ -56,7 +56,7 @@ static struct PyModuleDef cryptmodule = { }; PyMODINIT_FUNC -PyInit_crypt(void) +PyInit__crypt(void) { return PyModule_Create(&cryptmodule); } |
