diff options
author | 2003-11-04 08:54:09 +0000 | |
---|---|---|
committer | 2003-11-04 08:54:09 +0000 | |
commit | 07fd22416de584ff2976e70454b9301a350c5f42 (patch) | |
tree | 0911ca1639c664fc0d7ddb5993c3e1fd5b17f616 /usr.bin/ssh/auth1.c | |
parent | Test r operator. (diff) | |
download | wireguard-openbsd-07fd22416de584ff2976e70454b9301a350c5f42.tar.xz wireguard-openbsd-07fd22416de584ff2976e70454b9301a350c5f42.zip |
standardise arguments to auth methods - they should all take authctxt.
check authctxt->valid rather then pw != NULL; ok markus@
Diffstat (limited to 'usr.bin/ssh/auth1.c')
-rw-r--r-- | usr.bin/ssh/auth1.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/auth1.c b/usr.bin/ssh/auth1.c index 63b1609496d..9862d3b88d6 100644 --- a/usr.bin/ssh/auth1.c +++ b/usr.bin/ssh/auth1.c @@ -10,7 +10,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: auth1.c,v 1.53 2003/09/23 20:17:11 markus Exp $"); +RCSID("$OpenBSD: auth1.c,v 1.54 2003/11/04 08:54:09 djm Exp $"); #include "xmalloc.h" #include "rsa.h" @@ -125,7 +125,7 @@ do_authloop(Authctxt *authctxt) BN_num_bits(client_host_key->rsa->n), bits); packet_check_eom(); - authenticated = auth_rhosts_rsa(pw, client_user, + authenticated = auth_rhosts_rsa(authctxt, client_user, client_host_key); key_free(client_host_key); @@ -143,7 +143,7 @@ do_authloop(Authctxt *authctxt) fatal("do_authloop: BN_new failed"); packet_get_bignum(n); packet_check_eom(); - authenticated = auth_rsa(pw, n); + authenticated = auth_rsa(authctxt, n); BN_clear_free(n); break; |