Mercurial > dropbear
comparison 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 |
comparison
equal
deleted
inserted
replaced
667:fc7ae88e63b3 | 668:405418f7dc5e |
---|---|
141 if (match_option(options_buf, "no-port-forwarding") == DROPBEAR_SUCCESS) { | 141 if (match_option(options_buf, "no-port-forwarding") == DROPBEAR_SUCCESS) { |
142 dropbear_log(LOG_WARNING, "Port forwarding disabled."); | 142 dropbear_log(LOG_WARNING, "Port forwarding disabled."); |
143 ses.authstate.pubkey_options->no_port_forwarding_flag = 1; | 143 ses.authstate.pubkey_options->no_port_forwarding_flag = 1; |
144 goto next_option; | 144 goto next_option; |
145 } | 145 } |
146 #ifdef ENABLE_AGENTFWD | 146 #ifdef ENABLE_SVR_AGENTFWD |
147 if (match_option(options_buf, "no-agent-forwarding") == DROPBEAR_SUCCESS) { | 147 if (match_option(options_buf, "no-agent-forwarding") == DROPBEAR_SUCCESS) { |
148 dropbear_log(LOG_WARNING, "Agent forwarding disabled."); | 148 dropbear_log(LOG_WARNING, "Agent forwarding disabled."); |
149 ses.authstate.pubkey_options->no_agent_forwarding_flag = 1; | 149 ses.authstate.pubkey_options->no_agent_forwarding_flag = 1; |
150 goto next_option; | 150 goto next_option; |
151 } | 151 } |