summaryrefslogtreecommitdiffhomepage
path: root/svr-authpubkeyoptions.c
diff options
context:
space:
mode:
authorAndrey Mazo <ahippo@yandex.ru>2012-03-26 16:17:16 +0400
committerAndrey Mazo <ahippo@yandex.ru>2012-03-26 16:17:16 +0400
commitd4a14fcb3dde43e21b0bdf1e244d3b8f7aa488de (patch)
tree6f853fdf1f5ebf7d5c4d72b1aff8d50ae27611c7 /svr-authpubkeyoptions.c
parent49b79fa02d93a507df6caf93d3f4545ab057bea5 (diff)
Fixed compilation with unset ENABLE_{SVR,CLI}_AGENTFWD.
Got rid of ENABLE_AGENTFWD macro.
Diffstat (limited to 'svr-authpubkeyoptions.c')
-rw-r--r--svr-authpubkeyoptions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/svr-authpubkeyoptions.c b/svr-authpubkeyoptions.c
index 4490b58..71d7c14 100644
--- a/svr-authpubkeyoptions.c
+++ b/svr-authpubkeyoptions.c
@@ -143,7 +143,7 @@ int svr_add_pubkey_options(buffer *options_buf, int line_num, const char* filena
ses.authstate.pubkey_options->no_port_forwarding_flag = 1;
goto next_option;
}
-#ifdef ENABLE_AGENTFWD
+#ifdef ENABLE_SVR_AGENTFWD
if (match_option(options_buf, "no-agent-forwarding") == DROPBEAR_SUCCESS) {
dropbear_log(LOG_WARNING, "Agent forwarding disabled.");
ses.authstate.pubkey_options->no_agent_forwarding_flag = 1;