diff options
author | Damien Miller <djm@mindrot.org> | 2001-03-30 10:48:31 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2001-03-30 10:48:31 +1000 |
commit | 5d57e5073034b41c11366153f3853143c9ce07c0 (patch) | |
tree | 689156a83c58623993d7047c485983901f9c1abe /auth2-chall.c | |
parent | 23e526e27199f3ae079ee302581221b49d3e6772 (diff) |
- OpenBSD CVS Sync
- markus@cvs.openbsd.org 2001/03/28 22:43:31
[auth.h auth2.c auth2-chall.c]
check auth_root_allowed for kbd-int auth, too.
Diffstat (limited to 'auth2-chall.c')
-rw-r--r-- | auth2-chall.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/auth2-chall.c b/auth2-chall.c index 2b96f52a5..5af60e42f 100644 --- a/auth2-chall.c +++ b/auth2-chall.c | |||
@@ -22,7 +22,7 @@ | |||
22 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 22 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
23 | */ | 23 | */ |
24 | #include "includes.h" | 24 | #include "includes.h" |
25 | RCSID("$OpenBSD: auth2-chall.c,v 1.3 2001/03/02 18:54:31 deraadt Exp $"); | 25 | RCSID("$OpenBSD: auth2-chall.c,v 1.4 2001/03/28 22:43:31 markus Exp $"); |
26 | 26 | ||
27 | #include "ssh2.h" | 27 | #include "ssh2.h" |
28 | #include "auth.h" | 28 | #include "auth.h" |
@@ -104,10 +104,9 @@ input_userauth_info_response(int type, int plen, void *ctxt) | |||
104 | } | 104 | } |
105 | xfree(response); | 105 | xfree(response); |
106 | } | 106 | } |
107 | auth_log(authctxt, authenticated, method, " ssh2"); | 107 | /* unregister callback */ |
108 | if (!authctxt->postponed) { | 108 | if (!authctxt->postponed) |
109 | /* unregister callback and send reply */ | ||
110 | dispatch_set(SSH2_MSG_USERAUTH_INFO_RESPONSE, NULL); | 109 | dispatch_set(SSH2_MSG_USERAUTH_INFO_RESPONSE, NULL); |
111 | userauth_reply(authctxt, authenticated); | 110 | |
112 | } | 111 | userauth_finish(authctxt, authenticated, method); |
113 | } | 112 | } |