]> andersk Git - openssh.git/blobdiff - auth2-chall.c
- markus@cvs.openbsd.org 2001/05/17 21:34:15
[openssh.git] / auth2-chall.c
index 39dc285b9a8d24dba5c5193a5075782c5b8624df..5af60e42fa0f0b0bc57673a3798eb70ccaac0e14 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2001 Markus Friedl. All rights reserved.
+ * Copyright (c) 2001 Markus Friedl.  All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -22,7 +22,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 #include "includes.h"
-RCSID("$OpenBSD: auth2-chall.c,v 1.2 2001/01/21 19:05:43 markus Exp $");
+RCSID("$OpenBSD: auth2-chall.c,v 1.4 2001/03/28 22:43:31 markus Exp $");
 
 #include "ssh2.h"
 #include "auth.h"
@@ -104,10 +104,9 @@ input_userauth_info_response(int type, int plen, void *ctxt)
                }
                xfree(response);
        }
-       auth_log(authctxt, authenticated, method, " ssh2");
-       if (!authctxt->postponed) {
-               /* unregister callback and send reply */
+       /* unregister callback */
+       if (!authctxt->postponed)
                dispatch_set(SSH2_MSG_USERAUTH_INFO_RESPONSE, NULL);
-               userauth_reply(authctxt, authenticated);
-       }
+
+       userauth_finish(authctxt, authenticated, method);
 }
This page took 0.059374 seconds and 4 git commands to generate.