diff options
Diffstat (limited to 'auth1.c')
-rw-r--r-- | auth1.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -10,7 +10,7 @@ | |||
10 | */ | 10 | */ |
11 | 11 | ||
12 | #include "includes.h" | 12 | #include "includes.h" |
13 | RCSID("$OpenBSD: auth1.c,v 1.13 2001/01/21 19:05:43 markus Exp $"); | 13 | RCSID("$OpenBSD: auth1.c,v 1.14 2001/01/22 23:06:39 markus Exp $"); |
14 | 14 | ||
15 | #ifdef HAVE_OSF_SIA | 15 | #ifdef HAVE_OSF_SIA |
16 | # include <sia.h> | 16 | # include <sia.h> |
@@ -281,7 +281,7 @@ do_authloop(Authctxt *authctxt) | |||
281 | 281 | ||
282 | case SSH_CMSG_AUTH_TIS: | 282 | case SSH_CMSG_AUTH_TIS: |
283 | debug("rcvd SSH_CMSG_AUTH_TIS"); | 283 | debug("rcvd SSH_CMSG_AUTH_TIS"); |
284 | if (options.skey_authentication == 1) { | 284 | if (options.challenge_reponse_authentication == 1) { |
285 | char *challenge = get_challenge(authctxt, authctxt->style); | 285 | char *challenge = get_challenge(authctxt, authctxt->style); |
286 | if (challenge != NULL) { | 286 | if (challenge != NULL) { |
287 | debug("sending challenge '%s'", challenge); | 287 | debug("sending challenge '%s'", challenge); |
@@ -296,7 +296,7 @@ do_authloop(Authctxt *authctxt) | |||
296 | 296 | ||
297 | case SSH_CMSG_AUTH_TIS_RESPONSE: | 297 | case SSH_CMSG_AUTH_TIS_RESPONSE: |
298 | debug("rcvd SSH_CMSG_AUTH_TIS_RESPONSE"); | 298 | debug("rcvd SSH_CMSG_AUTH_TIS_RESPONSE"); |
299 | if (options.skey_authentication == 1) { | 299 | if (options.challenge_reponse_authentication == 1) { |
300 | char *response = packet_get_string(&dlen); | 300 | char *response = packet_get_string(&dlen); |
301 | debug("got response '%s'", response); | 301 | debug("got response '%s'", response); |
302 | packet_integrity_check(plen, 4 + dlen, type); | 302 | packet_integrity_check(plen, 4 + dlen, type); |