Mercurial > dropbear
comparison options.h @ 1159:f567a4152c14
Test for crypt() rather than crypt.h
Print a message from configure if getpass() or crypt() were missing
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 21 Oct 2015 23:08:22 +0800 |
parents | ef67b57fe438 |
children | 6a7938ba004a |
comparison
equal
deleted
inserted
replaced
1158:ef67b57fe438 | 1159:f567a4152c14 |
---|---|
204 * It's useful for systems like OS X where standard password crypts don't work | 204 * It's useful for systems like OS X where standard password crypts don't work |
205 * but there's an interface via a PAM module. It won't work for more complex | 205 * but there's an interface via a PAM module. It won't work for more complex |
206 * PAM challenge/response. | 206 * PAM challenge/response. |
207 * You can't enable both PASSWORD and PAM. */ | 207 * You can't enable both PASSWORD and PAM. */ |
208 | 208 |
209 /* This requires crypt.h & crypt. */ | 209 /* This requires crypt() */ |
210 #ifdef HAVE_CRYPT_H | 210 #ifdef HAVE_CRYPT |
211 #define ENABLE_SVR_PASSWORD_AUTH | 211 #define ENABLE_SVR_PASSWORD_AUTH |
212 #endif | 212 #endif |
213 /* PAM requires ./configure --enable-pam */ | 213 /* PAM requires ./configure --enable-pam */ |
214 /*#define ENABLE_SVR_PAM_AUTH */ | 214 /*#define ENABLE_SVR_PAM_AUTH */ |
215 #define ENABLE_SVR_PUBKEY_AUTH | 215 #define ENABLE_SVR_PUBKEY_AUTH |