summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/auth2-chall.c
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2001-03-28 22:43:31 +0000
committermarkus <markus@openbsd.org>2001-03-28 22:43:31 +0000
commit110a4d0a678871e04ae3d23eae0d10aaf104fd45 (patch)
treebab71fd740576da281d9bcf9ffd145b7efb7bfd3 /usr.bin/ssh/auth2-chall.c
parentkcopy must restore the previous pcbonfault, not zero it. (diff)
downloadwireguard-openbsd-110a4d0a678871e04ae3d23eae0d10aaf104fd45.tar.xz
wireguard-openbsd-110a4d0a678871e04ae3d23eae0d10aaf104fd45.zip
check auth_root_allowed for kbd-int auth, too.
Diffstat (limited to 'usr.bin/ssh/auth2-chall.c')
-rw-r--r--usr.bin/ssh/auth2-chall.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/usr.bin/ssh/auth2-chall.c b/usr.bin/ssh/auth2-chall.c
index 2b96f52a5ed..5af60e42fa0 100644
--- a/usr.bin/ssh/auth2-chall.c
+++ b/usr.bin/ssh/auth2-chall.c
@@ -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.3 2001/03/02 18:54:31 deraadt 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);
}