diff --git a/lib/krb5/salt-des.c b/lib/krb5/salt-des.c index 474ba5d59..cb727c15d 100644 --- a/lib/krb5/salt-des.c +++ b/lib/krb5/salt-des.c @@ -35,6 +35,10 @@ #ifdef HEIM_WEAK_CRYPTO +#if !defined(HAVE_CRYPT) +# undef ENABLE_AFS_STRING_TO_KEY +#endif + #ifdef ENABLE_AFS_STRING_TO_KEY /* This defines the Andrew string_to_key function. It accepts a password