diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-01-23 03:12:10 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-01-23 03:12:10 +0000 |
commit | 95fb2dde7777c6afbffd80eba79a88811db55290 (patch) | |
tree | a008785c01c2bb513cc0c76bf1ac28f36cd9d9c9 /sshconnect2.c | |
parent | b1985f727950dbb3d5c7de863ae0e2181ace53f8 (diff) |
- markus@cvs.openbsd.org 2001/01/22 23:06:39
[auth1.c auth2.c readconf.c readconf.h servconf.c servconf.h
sshconnect1.c sshconnect2.c sshd.c]
rename skey -> challenge response.
auto-enable kbd-interactive for ssh2 if challenge-reponse is enabled.
Diffstat (limited to 'sshconnect2.c')
-rw-r--r-- | sshconnect2.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sshconnect2.c b/sshconnect2.c index 1b4422876..1d911b9bb 100644 --- a/sshconnect2.c +++ b/sshconnect2.c | |||
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: sshconnect2.c,v 1.38 2001/01/22 17:22:28 stevesk Exp $"); | 26 | RCSID("$OpenBSD: sshconnect2.c,v 1.39 2001/01/22 23:06:40 markus Exp $"); |
27 | 27 | ||
28 | #include <openssl/bn.h> | 28 | #include <openssl/bn.h> |
29 | #include <openssl/md5.h> | 29 | #include <openssl/md5.h> |
@@ -513,6 +513,9 @@ ssh_userauth2(const char *server_user, char *host) | |||
513 | int type; | 513 | int type; |
514 | int plen; | 514 | int plen; |
515 | 515 | ||
516 | if (options.challenge_reponse_authentication) | ||
517 | options.kbd_interactive_authentication = 1; | ||
518 | |||
516 | debug("send SSH2_MSG_SERVICE_REQUEST"); | 519 | debug("send SSH2_MSG_SERVICE_REQUEST"); |
517 | packet_start(SSH2_MSG_SERVICE_REQUEST); | 520 | packet_start(SSH2_MSG_SERVICE_REQUEST); |
518 | packet_put_cstring("ssh-userauth"); | 521 | packet_put_cstring("ssh-userauth"); |