summaryrefslogtreecommitdiff
path: root/auth2.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth2.c')
-rw-r--r--auth2.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/auth2.c b/auth2.c
index c5ab08067..b57fda216 100644
--- a/auth2.c
+++ b/auth2.c
@@ -23,7 +23,7 @@
23 */ 23 */
24 24
25#include "includes.h" 25#include "includes.h"
26RCSID("$OpenBSD: auth2.c,v 1.86 2002/03/17 20:25:56 provos Exp $"); 26RCSID("$OpenBSD: auth2.c,v 1.87 2002/03/18 01:12:14 provos Exp $");
27 27
28#include <openssl/evp.h> 28#include <openssl/evp.h>
29 29
@@ -109,7 +109,7 @@ Authmethod authmethods[] = {
109 * loop until authctxt->success == TRUE 109 * loop until authctxt->success == TRUE
110 */ 110 */
111 111
112void 112Authctxt *
113do_authentication2(void) 113do_authentication2(void)
114{ 114{
115 Authctxt *authctxt = authctxt_new(); 115 Authctxt *authctxt = authctxt_new();
@@ -125,7 +125,8 @@ do_authentication2(void)
125 dispatch_init(&dispatch_protocol_error); 125 dispatch_init(&dispatch_protocol_error);
126 dispatch_set(SSH2_MSG_SERVICE_REQUEST, &input_service_request); 126 dispatch_set(SSH2_MSG_SERVICE_REQUEST, &input_service_request);
127 dispatch_run(DISPATCH_BLOCK, &authctxt->success, authctxt); 127 dispatch_run(DISPATCH_BLOCK, &authctxt->success, authctxt);
128 do_authenticated(authctxt); 128
129 return (authctxt);
129} 130}
130 131
131static void 132static void