diff options
author | Gregory P. Smith <greg@krypto.org> | 2018-12-30 15:42:32 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-30 15:42:32 -0800 |
commit | 387512c7ecde6446f2e29408af2e16b9fc043807 (patch) | |
tree | 66e991863076343981c7577cdbf2434449322f55 /pyconfig.h.in | |
parent | Fix typo in documentation of AbstractEventLoopPolicy.set_child_watcher() (GH-... (diff) | |
download | cpython-387512c7ecde6446f2e29408af2e16b9fc043807.tar.gz cpython-387512c7ecde6446f2e29408af2e16b9fc043807.tar.bz2 cpython-387512c7ecde6446f2e29408af2e16b9fc043807.zip |
bpo-28503: Use crypt_r() when available instead of crypt() (GH-11373)
Use crypt_r() when available instead of crypt() in the crypt module.
As a nice side effect: This also avoids a memory sanitizer flake as clang msan doesn't know about crypt's internal libc allocated buffer.
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r-- | pyconfig.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in index 254a2dcab4d..f37ca361502 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -147,6 +147,9 @@ /* Define to 1 if you have the <crypt.h> header file. */ #undef HAVE_CRYPT_H +/* Define if you have the crypt_r() function. */ +#undef HAVE_CRYPT_R + /* Define to 1 if you have the `ctermid' function. */ #undef HAVE_CTERMID |