summaryrefslogtreecommitdiffhomepage
path: root/options.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2015-10-21 23:08:22 +0800
committerMatt Johnston <matt@ucc.asn.au>2015-10-21 23:08:22 +0800
commit00798ca8ccf7d2365be11649b0c8474634c3d72e (patch)
tree666e29d60bf49c46938eec75f70a709120c7fb7d /options.h
parente84cb3c3c28e8120484197b817631ded4141cc74 (diff)
Test for crypt() rather than crypt.h
Print a message from configure if getpass() or crypt() were missing
Diffstat (limited to 'options.h')
-rw-r--r--options.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/options.h b/options.h
index c2db3d8..27e2a02 100644
--- a/options.h
+++ b/options.h
@@ -206,8 +206,8 @@ If you test it please contact the Dropbear author */
* PAM challenge/response.
* You can't enable both PASSWORD and PAM. */
-/* This requires crypt.h & crypt. */
-#ifdef HAVE_CRYPT_H
+/* This requires crypt() */
+#ifdef HAVE_CRYPT
#define ENABLE_SVR_PASSWORD_AUTH
#endif
/* PAM requires ./configure --enable-pam */