- (bal) Minor auth2.c resync. Whitespace and moving of an #include.
This commit is contained in:
parent
a73335004e
commit
6d40c0f806
|
@ -31,6 +31,7 @@
|
||||||
ssh-dss.h ssh-keygen.1 ssh-keyscan.1 ssh-rsa.h ssh1.h ssh_config
|
ssh-dss.h ssh-keygen.1 ssh-keyscan.1 ssh-rsa.h ssh1.h ssh_config
|
||||||
sshconnect.h sshd_config tildexpand.h uidswap.h uuencode.h]
|
sshconnect.h sshd_config tildexpand.h uidswap.h uuencode.h]
|
||||||
$OpenBSD$
|
$OpenBSD$
|
||||||
|
- (bal) Minor auth2.c resync. Whitespace and moving of an #include.
|
||||||
|
|
||||||
20010126
|
20010126
|
||||||
- (bal) SSH_PROGRAM vs _PATH_SSH_PROGRAM fix pointed out by Roumen
|
- (bal) SSH_PROGRAM vs _PATH_SSH_PROGRAM fix pointed out by Roumen
|
||||||
|
|
4
auth2.c
4
auth2.c
|
@ -47,8 +47,8 @@ RCSID("$OpenBSD: auth2.c,v 1.34 2001/01/22 23:06:39 markus Exp $");
|
||||||
#include "session.h"
|
#include "session.h"
|
||||||
#include "dispatch.h"
|
#include "dispatch.h"
|
||||||
#include "auth.h"
|
#include "auth.h"
|
||||||
#include "cipher.h"
|
|
||||||
#include "key.h"
|
#include "key.h"
|
||||||
|
#include "cipher.h"
|
||||||
#include "kex.h"
|
#include "kex.h"
|
||||||
#include "pathnames.h"
|
#include "pathnames.h"
|
||||||
#include "uidswap.h"
|
#include "uidswap.h"
|
||||||
|
@ -203,7 +203,7 @@ input_userauth_request(int type, int plen, void *ctxt)
|
||||||
if ((style = strchr(user, ':')) != NULL)
|
if ((style = strchr(user, ':')) != NULL)
|
||||||
*style++ = 0;
|
*style++ = 0;
|
||||||
|
|
||||||
if (authctxt->attempt++ == 0) {
|
if (authctxt->attempt++ == 0) {
|
||||||
/* setup auth context */
|
/* setup auth context */
|
||||||
struct passwd *pw = NULL;
|
struct passwd *pw = NULL;
|
||||||
setproctitle("%s", user);
|
setproctitle("%s", user);
|
||||||
|
|
Loading…
Reference in New Issue