mirror of
https://github.com/clearml/dropbear
synced 2025-04-22 07:05:13 +00:00
fix default build when crypt() is unavailable
if the system doesn't support crypt.h/crypt, then ENABLE_SVR_PASSWORD_AUTH cannot work. rather than default this to on all the time, do so only when support for the header is found.
This commit is contained in:
parent
93c54fe6f6
commit
78b9cecb52
@ -206,7 +206,10 @@ If you test it please contact the Dropbear author */
|
|||||||
* PAM challenge/response.
|
* PAM challenge/response.
|
||||||
* You can't enable both PASSWORD and PAM. */
|
* You can't enable both PASSWORD and PAM. */
|
||||||
|
|
||||||
|
/* This requires crypt.h & crypt. */
|
||||||
|
#ifdef HAVE_CRYPT_H
|
||||||
#define ENABLE_SVR_PASSWORD_AUTH
|
#define ENABLE_SVR_PASSWORD_AUTH
|
||||||
|
#endif
|
||||||
/* PAM requires ./configure --enable-pam */
|
/* PAM requires ./configure --enable-pam */
|
||||||
/*#define ENABLE_SVR_PAM_AUTH */
|
/*#define ENABLE_SVR_PAM_AUTH */
|
||||||
#define ENABLE_SVR_PUBKEY_AUTH
|
#define ENABLE_SVR_PUBKEY_AUTH
|
||||||
|
Loading…
Reference in New Issue
Block a user