summaryrefslogtreecommitdiffhomepage
path: root/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'options.h')
-rw-r--r--options.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/options.h b/options.h
index 6b87762..c2db3d8 100644
--- a/options.h
+++ b/options.h
@@ -220,9 +220,12 @@ If you test it please contact the Dropbear author */
#define ENABLE_SVR_PUBKEY_OPTIONS
#endif
+/* This requires getpass. */
+#ifdef HAVE_GETPASS
#define ENABLE_CLI_PASSWORD_AUTH
-#define ENABLE_CLI_PUBKEY_AUTH
#define ENABLE_CLI_INTERACT_AUTH
+#endif
+#define ENABLE_CLI_PUBKEY_AUTH
/* A default argument for dbclient -i <privatekey>.
Homedir is prepended unless path begins with / */