View | Details | Raw Unified | Return to bug 1105
Collapse All | Expand All

(-)openssh_cvs/sshd.c:1.313 (-2 / +2 lines)
Lines 633-641 Link Here
633
	if (authctxt->pw->pw_uid == 0 || options.use_login) {
633
	if (authctxt->pw->pw_uid == 0 || options.use_login) {
634
#endif
634
#endif
635
		/* File descriptor passing is broken or root login */
635
		/* File descriptor passing is broken or root login */
636
		monitor_apply_keystate(pmonitor);
637
		use_privsep = 0;
636
		use_privsep = 0;
638
		return;
637
		goto out;
639
	}
638
	}
640
639
641
	/* Authentication complete */
640
	/* Authentication complete */
Lines 669-674 Link Here
669
	/* Drop privileges */
668
	/* Drop privileges */
670
	do_setusercontext(authctxt->pw);
669
	do_setusercontext(authctxt->pw);
671
670
671
 out:
672
	/* It is safe now to apply the key state */
672
	/* It is safe now to apply the key state */
673
	monitor_apply_keystate(pmonitor);
673
	monitor_apply_keystate(pmonitor);
674
674

Return to bug 1105