diff options
Diffstat (limited to 'servconf.c')
-rw-r--r-- | servconf.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/servconf.c b/servconf.c index 7dfd040c8..2738c62e9 100644 --- a/servconf.c +++ b/servconf.c | |||
@@ -10,7 +10,7 @@ | |||
10 | */ | 10 | */ |
11 | 11 | ||
12 | #include "includes.h" | 12 | #include "includes.h" |
13 | RCSID("$OpenBSD: servconf.c,v 1.62 2001/01/21 19:05:55 markus Exp $"); | 13 | RCSID("$OpenBSD: servconf.c,v 1.63 2001/01/22 23:06:39 markus Exp $"); |
14 | 14 | ||
15 | #ifdef KRB4 | 15 | #ifdef KRB4 |
16 | #include <krb.h> | 16 | #include <krb.h> |
@@ -77,7 +77,7 @@ initialize_server_options(ServerOptions *options) | |||
77 | #endif | 77 | #endif |
78 | options->password_authentication = -1; | 78 | options->password_authentication = -1; |
79 | options->kbd_interactive_authentication = -1; | 79 | options->kbd_interactive_authentication = -1; |
80 | options->skey_authentication = -1; | 80 | options->challenge_reponse_authentication = -1; |
81 | options->permit_empty_passwd = -1; | 81 | options->permit_empty_passwd = -1; |
82 | options->use_login = -1; | 82 | options->use_login = -1; |
83 | options->allow_tcp_forwarding = -1; | 83 | options->allow_tcp_forwarding = -1; |
@@ -171,8 +171,8 @@ fill_default_server_options(ServerOptions *options) | |||
171 | options->password_authentication = 1; | 171 | options->password_authentication = 1; |
172 | if (options->kbd_interactive_authentication == -1) | 172 | if (options->kbd_interactive_authentication == -1) |
173 | options->kbd_interactive_authentication = 0; | 173 | options->kbd_interactive_authentication = 0; |
174 | if (options->skey_authentication == -1) | 174 | if (options->challenge_reponse_authentication == -1) |
175 | options->skey_authentication = 1; | 175 | options->challenge_reponse_authentication = 1; |
176 | if (options->permit_empty_passwd == -1) | 176 | if (options->permit_empty_passwd == -1) |
177 | options->permit_empty_passwd = 0; | 177 | options->permit_empty_passwd = 0; |
178 | if (options->use_login == -1) | 178 | if (options->use_login == -1) |
@@ -201,7 +201,7 @@ typedef enum { | |||
201 | #ifdef AFS | 201 | #ifdef AFS |
202 | sKerberosTgtPassing, sAFSTokenPassing, | 202 | sKerberosTgtPassing, sAFSTokenPassing, |
203 | #endif | 203 | #endif |
204 | sSkeyAuthentication, | 204 | sChallengeResponseAuthentication, |
205 | sPasswordAuthentication, sKbdInteractiveAuthentication, sListenAddress, | 205 | sPasswordAuthentication, sKbdInteractiveAuthentication, sListenAddress, |
206 | sPrintMotd, sIgnoreRhosts, sX11Forwarding, sX11DisplayOffset, | 206 | sPrintMotd, sIgnoreRhosts, sX11Forwarding, sX11DisplayOffset, |
207 | sStrictModes, sEmptyPasswd, sRandomSeedFile, sKeepAlives, sCheckMail, | 207 | sStrictModes, sEmptyPasswd, sRandomSeedFile, sKeepAlives, sCheckMail, |
@@ -243,7 +243,8 @@ static struct { | |||
243 | #endif | 243 | #endif |
244 | { "passwordauthentication", sPasswordAuthentication }, | 244 | { "passwordauthentication", sPasswordAuthentication }, |
245 | { "kbdinteractiveauthentication", sKbdInteractiveAuthentication }, | 245 | { "kbdinteractiveauthentication", sKbdInteractiveAuthentication }, |
246 | { "skeyauthentication", sSkeyAuthentication }, | 246 | { "challengeresponseauthentication", sChallengeResponseAuthentication }, |
247 | { "skeyauthentication", sChallengeResponseAuthentication }, /* alias */ | ||
247 | { "checkmail", sCheckMail }, | 248 | { "checkmail", sCheckMail }, |
248 | { "listenaddress", sListenAddress }, | 249 | { "listenaddress", sListenAddress }, |
249 | { "printmotd", sPrintMotd }, | 250 | { "printmotd", sPrintMotd }, |
@@ -537,8 +538,8 @@ parse_flag: | |||
537 | intptr = &options->check_mail; | 538 | intptr = &options->check_mail; |
538 | goto parse_flag; | 539 | goto parse_flag; |
539 | 540 | ||
540 | case sSkeyAuthentication: | 541 | case sChallengeResponseAuthentication: |
541 | intptr = &options->skey_authentication; | 542 | intptr = &options->challenge_reponse_authentication; |
542 | goto parse_flag; | 543 | goto parse_flag; |
543 | 544 | ||
544 | case sPrintMotd: | 545 | case sPrintMotd: |