=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/Attic/auth-rsa.c,v retrieving revision 1.56.4.2 retrieving revision 1.57 diff -u -r1.56.4.2 -r1.57 --- src/usr.bin/ssh/Attic/auth-rsa.c 2004/03/04 18:18:15 1.56.4.2 +++ src/usr.bin/ssh/Attic/auth-rsa.c 2003/04/08 20:21:28 1.57 @@ -14,7 +14,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: auth-rsa.c,v 1.56.4.2 2004/03/04 18:18:15 brad Exp $"); +RCSID("$OpenBSD: auth-rsa.c,v 1.57 2003/04/08 20:21:28 itojun Exp $"); #include #include @@ -284,14 +284,13 @@ * successful. This may exit if there is a serious protocol violation. */ int -auth_rsa(Authctxt *authctxt, BIGNUM *client_n) +auth_rsa(struct passwd *pw, BIGNUM *client_n) { Key *key; char *fp; - struct passwd *pw = authctxt->pw; /* no user given */ - if (!authctxt->valid) + if (pw == NULL) return 0; if (!PRIVSEP(auth_rsa_key_allowed(pw, client_n, &key))) {