зеркало из https://github.com/Azure/sonic-openssh.git
- (bal) Minor auth2.c resync. Whitespace and moving of an #include.
This commit is contained in:
Родитель
a73335004e
Коммит
6d40c0f806
|
@ -31,6 +31,7 @@
|
|||
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]
|
||||
$OpenBSD$
|
||||
- (bal) Minor auth2.c resync. Whitespace and moving of an #include.
|
||||
|
||||
20010126
|
||||
- (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 "dispatch.h"
|
||||
#include "auth.h"
|
||||
#include "cipher.h"
|
||||
#include "key.h"
|
||||
#include "cipher.h"
|
||||
#include "kex.h"
|
||||
#include "pathnames.h"
|
||||
#include "uidswap.h"
|
||||
|
@ -203,7 +203,7 @@ input_userauth_request(int type, int plen, void *ctxt)
|
|||
if ((style = strchr(user, ':')) != NULL)
|
||||
*style++ = 0;
|
||||
|
||||
if (authctxt->attempt++ == 0) {
|
||||
if (authctxt->attempt++ == 0) {
|
||||
/* setup auth context */
|
||||
struct passwd *pw = NULL;
|
||||
setproctitle("%s", user);
|
||||
|
|
Загрузка…
Ссылка в новой задаче