diff options
author | 2002-03-18 01:12:14 +0000 | |
---|---|---|
committer | 2002-03-18 01:12:14 +0000 | |
commit | 77e1cce3ae6a6c206ee5c5ecc86d69318d5fd015 (patch) | |
tree | 9119e253a99721ed192050cd2b79fb18ef6b0e92 /usr.bin/ssh/auth1.c | |
parent | no keyboard -- no cry (diff) | |
download | wireguard-openbsd-77e1cce3ae6a6c206ee5c5ecc86d69318d5fd015.tar.xz wireguard-openbsd-77e1cce3ae6a6c206ee5c5ecc86d69318d5fd015.zip |
have the authentication functions return the authentication context
and then do_authenticated; okay millert@
Diffstat (limited to 'usr.bin/ssh/auth1.c')
-rw-r--r-- | usr.bin/ssh/auth1.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/ssh/auth1.c b/usr.bin/ssh/auth1.c index 238e7387a99..8b9b35e15cb 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.36 2002/03/17 20:25:56 provos Exp $"); +RCSID("$OpenBSD: auth1.c,v 1.37 2002/03/18 01:12:14 provos Exp $"); #include "xmalloc.h" #include "rsa.h" @@ -318,7 +318,7 @@ do_authloop(Authctxt *authctxt) * Performs authentication of an incoming connection. Session key has already * been exchanged and encryption is enabled. */ -void +Authctxt * do_authentication(void) { Authctxt *authctxt; @@ -375,6 +375,5 @@ do_authentication(void) packet_send(); packet_write_wait(); - /* Perform session preparation. */ - do_authenticated(authctxt); + return (authctxt); } |