mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-29 16:54:51 +02:00
Fixed issue: Wrong log message when key type is not allowed (https://github.com/PowerShell/Win32-OpenSSH/issues/472)
This commit is contained in:
parent
039f2eca7a
commit
efa7d82bbd
@ -318,7 +318,7 @@ int process_pubkeyauth_request(struct sshbuf* request, struct sshbuf* response,
|
|||||||
|
|
||||||
if (SHGetKnownFolderPath(&FOLDERID_Profile, 0, token, &wuser_home) != S_OK ||
|
if (SHGetKnownFolderPath(&FOLDERID_Profile, 0, token, &wuser_home) != S_OK ||
|
||||||
pubkey_allowed(key, wuser, wuser_home) != 1) {
|
pubkey_allowed(key, wuser, wuser_home) != 1) {
|
||||||
debug("given public key is not mapped to user %ls (profile:%ls)", wuser, wuser_home);
|
debug("unable to verify public key for user %ls (profile:%ls)", wuser, wuser_home);
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user