diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-03-22 01:27:35 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-03-22 01:27:35 +0000 |
commit | 73ab9ba45d369ef35b0e81590d5d46cc376466c9 (patch) | |
tree | d71733dedcdf95447dc81ffb62db5f2f56150dc6 /auth1.c | |
parent | 2ae18f40a70632eb87eca114980649dae8c476ff (diff) |
- provos@cvs.openbsd.org 2002/03/18 01:12:14
[auth.h auth1.c auth2.c sshd.c]
have the authentication functions return the authentication context
and then do_authenticated; okay millert@
Diffstat (limited to 'auth1.c')
-rw-r--r-- | auth1.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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" @@ -355,7 +355,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; @@ -418,6 +418,5 @@ do_authentication(void) packet_send(); packet_write_wait(); - /* Perform session preparation. */ - do_authenticated(authctxt); + return (authctxt); } |