=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/Attic/sshconnect1.c,v retrieving revision 1.41.2.2 retrieving revision 1.41.2.3 diff -u -r1.41.2.2 -r1.41.2.3 --- src/usr.bin/ssh/Attic/sshconnect1.c 2002/05/17 00:03:24 1.41.2.2 +++ src/usr.bin/ssh/Attic/sshconnect1.c 2002/06/22 07:23:18 1.41.2.3 @@ -13,7 +13,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshconnect1.c,v 1.41.2.2 2002/05/17 00:03:24 miod Exp $"); +RCSID("$OpenBSD: sshconnect1.c,v 1.41.2.3 2002/06/22 07:23:18 miod Exp $"); #include #include @@ -1092,7 +1092,7 @@ */ void ssh_userauth1(const char *local_user, const char *server_user, char *host, - Key **keys, int nkeys) + Sensitive *sensitive) { #ifdef KRB5 krb5_context context = NULL; @@ -1178,9 +1178,11 @@ */ if ((supported_authentications & (1 << SSH_AUTH_RHOSTS_RSA)) && options.rhosts_rsa_authentication) { - for (i = 0; i < nkeys; i++) { - if (keys[i] != NULL && keys[i]->type == KEY_RSA1 && - try_rhosts_rsa_authentication(local_user, keys[i])) + for (i = 0; i < sensitive->nkeys; i++) { + if (sensitive->keys[i] != NULL && + sensitive->keys[i]->type == KEY_RSA1 && + try_rhosts_rsa_authentication(local_user, + sensitive->keys[i])) goto success; } }