зеркало из https://github.com/Azure/sonic-openssh.git
- djm@cvs.openbsd.org 2013/02/14 21:35:59
[auth2-pubkey.c] Correct error message that had a typo and was logging the wrong thing; patch from Petr Lautrbach
This commit is contained in:
Родитель
91edc1ce2b
Коммит
4018dc04da
|
@ -1,6 +1,11 @@
|
||||||
20130215
|
20130215
|
||||||
- (djm) [contrib/suse/rc.sshd] Use SSHD_BIN consistently; bz#2056 from
|
- (djm) [contrib/suse/rc.sshd] Use SSHD_BIN consistently; bz#2056 from
|
||||||
Iain Morgan
|
Iain Morgan
|
||||||
|
- (djm) OpenBSD CVS Sync
|
||||||
|
- djm@cvs.openbsd.org 2013/02/14 21:35:59
|
||||||
|
[auth2-pubkey.c]
|
||||||
|
Correct error message that had a typo and was logging the wrong thing;
|
||||||
|
patch from Petr Lautrbach
|
||||||
|
|
||||||
20130214
|
20130214
|
||||||
- (djm) [regress/krl.sh] Don't use ecdsa keys in environment that lack ECC.
|
- (djm) [regress/krl.sh] Don't use ecdsa keys in environment that lack ECC.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $OpenBSD: auth2-pubkey.c,v 1.33 2012/11/14 02:24:27 djm Exp $ */
|
/* $OpenBSD: auth2-pubkey.c,v 1.34 2013/02/14 21:35:59 djm Exp $ */
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2000 Markus Friedl. All rights reserved.
|
* Copyright (c) 2000 Markus Friedl. All rights reserved.
|
||||||
*
|
*
|
||||||
|
@ -479,8 +479,8 @@ user_key_command_allowed2(struct passwd *user_pw, Key *key)
|
||||||
"u", user_pw->pw_name, (char *)NULL);
|
"u", user_pw->pw_name, (char *)NULL);
|
||||||
pw = getpwnam(username);
|
pw = getpwnam(username);
|
||||||
if (pw == NULL) {
|
if (pw == NULL) {
|
||||||
error("AuthorizedKeyCommandUser \"%s\" not found: %s",
|
error("AuthorizedKeysCommandUser \"%s\" not found: %s",
|
||||||
options.authorized_keys_command, strerror(errno));
|
username, strerror(errno));
|
||||||
free(username);
|
free(username);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче