ENABLE_AFS_STRING_TO_KEY requires crypt()
If crypt() is unavailable then DES_AFS3_string_to_key() cannot be implemented for passwords up to 8 characters in length. Do not advertise support for "afs3-salt" when crypt() is missing.
This commit is contained in:
@@ -35,6 +35,10 @@
|
|||||||
|
|
||||||
#ifdef HEIM_WEAK_CRYPTO
|
#ifdef HEIM_WEAK_CRYPTO
|
||||||
|
|
||||||
|
#if !defined(HAVE_CRYPT)
|
||||||
|
# undef ENABLE_AFS_STRING_TO_KEY
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef ENABLE_AFS_STRING_TO_KEY
|
#ifdef ENABLE_AFS_STRING_TO_KEY
|
||||||
|
|
||||||
/* This defines the Andrew string_to_key function. It accepts a password
|
/* This defines the Andrew string_to_key function. It accepts a password
|
||||||
|
Reference in New Issue
Block a user