version 1.56.4.2, 2004/03/04 18:18:15 |
version 1.57, 2003/04/08 20:21:28 |
|
|
* successful. This may exit if there is a serious protocol violation. |
* successful. This may exit if there is a serious protocol violation. |
*/ |
*/ |
int |
int |
auth_rsa(Authctxt *authctxt, BIGNUM *client_n) |
auth_rsa(struct passwd *pw, BIGNUM *client_n) |
{ |
{ |
Key *key; |
Key *key; |
char *fp; |
char *fp; |
struct passwd *pw = authctxt->pw; |
|
|
|
/* no user given */ |
/* no user given */ |
if (!authctxt->valid) |
if (pw == NULL) |
return 0; |
return 0; |
|
|
if (!PRIVSEP(auth_rsa_key_allowed(pw, client_n, &key))) { |
if (!PRIVSEP(auth_rsa_key_allowed(pw, client_n, &key))) { |