Mercurial > dropbear
diff svr-authpubkeyoptions.c @ 668:405418f7dc5e
Fixed compilation with unset ENABLE_{SVR,CLI}_AGENTFWD.
Got rid of ENABLE_AGENTFWD macro.
author | Andrey Mazo <ahippo@yandex.ru> |
---|---|
date | Mon, 26 Mar 2012 16:17:16 +0400 |
parents | 818108bf7749 |
children | c45d65392c1a |
line wrap: on
line diff
--- a/svr-authpubkeyoptions.c Mon Apr 09 20:35:13 2012 +0800 +++ b/svr-authpubkeyoptions.c Mon Mar 26 16:17:16 2012 +0400 @@ -143,7 +143,7 @@ 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;