SIGN IN SIGN UP

[3.12] gh-123917: Fix crypt check in configure (#123952)

Use a global volatile variable and check if the function is not NULL
to use the variable. Otherwise, a compiler optimization can remove
the variable making the check useless.

Co-authored-by: Paul Smith <paul@mad-scientist.net>
V
Victor Stinner committed
53af5b2dd2069680be4ce76626c857e9b2959f77
Parent: 5c15b1a
Committed by GitHub <noreply@github.com> on 9/12/2024, 2:21:31 PM