summaryrefslogtreecommitdiff
path: root/svr-runopts.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2019-05-15 21:59:45 +0800
committerMatt Johnston <matt@ucc.asn.au>2019-05-15 21:59:45 +0800
commitfa116e983b4931010e1082dd5c8bf38bbc77718c (patch)
tree6e4e2d4e1fb756895cf5ea17bfa0f0493ffd49f3 /svr-runopts.c
parent8c6aaf8d361e95ba3d9b371b86abaae1fd0e436f (diff)
downloaddropbear-fa116e983b4931010e1082dd5c8bf38bbc77718c.tar.gz
Rename EPKA -> Plugin
Diffstat (limited to 'svr-runopts.c')
-rw-r--r--svr-runopts.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/svr-runopts.c b/svr-runopts.c
index 19ce14c..d7a0d5a 100644
--- a/svr-runopts.c
+++ b/svr-runopts.c
@@ -99,7 +99,7 @@ static void printhelp(const char * progname) {
"-W <receive_window_buffer> (default %d, larger may be faster, max 1MB)\n"
"-K <keepalive> (0 is never, default %d, in seconds)\n"
"-I <idle_timeout> (0 is never, default %d, in seconds)\n"
-#if DROPBEAR_EPKA
+#if DROPBEAR_PLUGIN
"-A <authplugin>[,<options>]\n"
" Enable external public key auth through <authplugin>\n"
#endif
@@ -133,7 +133,7 @@ void svr_getopts(int argc, char ** argv) {
char* maxauthtries_arg = NULL;
char* keyfile = NULL;
char c;
-#if DROPBEAR_EPKA
+#if DROPBEAR_PLUGIN
char* pubkey_plugin = NULL;
#endif
@@ -163,7 +163,7 @@ void svr_getopts(int argc, char ** argv) {
#if DROPBEAR_SVR_REMOTETCPFWD
svr_opts.noremotetcp = 0;
#endif
-#if DROPBEAR_EPKA
+#if DROPBEAR_PLUGIN
svr_opts.pubkey_plugin = NULL;
svr_opts.pubkey_plugin_options = NULL;
#endif
@@ -285,7 +285,7 @@ void svr_getopts(int argc, char ** argv) {
case 'u':
/* backwards compatibility with old urandom option */
break;
-#if DROPBEAR_EPKA
+#if DROPBEAR_PLUGIN
case 'A':
next = &pubkey_plugin;
break;
@@ -410,7 +410,7 @@ void svr_getopts(int argc, char ** argv) {
if (svr_opts.forced_command) {
dropbear_log(LOG_INFO, "Forced command set to '%s'", svr_opts.forced_command);
}
-#if DROPBEAR_EPKA
+#if DROPBEAR_PLUGIN
if (pubkey_plugin) {
char *args = strchr(pubkey_plugin, ',');
if (args) {