diff options
author | Darren Tucker <dtucker@dtucker.net> | 2019-06-07 16:10:59 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2019-06-07 16:51:18 +0200 |
commit | fc0340f7c4ee29bfb12bd1de9f99defa797e16b4 (patch) | |
tree | 631f75ed4e2c6aa2707b2f0f7d2ddab2a3e96856 /auth-pam.c | |
parent | upstream: Typo and spelling fixes in comments and error messages. (diff) | |
download | openssh-fc0340f7c4ee29bfb12bd1de9f99defa797e16b4.tar.xz openssh-fc0340f7c4ee29bfb12bd1de9f99defa797e16b4.zip |
Typo fixes in error messages.
Patch from knweiss at gmail.com via github pull req #97 (portable-
specific parts).
Diffstat (limited to '')
-rw-r--r-- | auth-pam.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/auth-pam.c b/auth-pam.c index c0504fd05..55253e6ab 100644 --- a/auth-pam.c +++ b/auth-pam.c @@ -258,7 +258,7 @@ static char ** pam_getenvlist(pam_handle_t *pamh) { /* - * XXX - If necessary, we can still support envrionment passing + * XXX - If necessary, we can still support environment passing * for platforms without pam_getenvlist by searching for known * env vars (e.g. KRB5CCNAME) from the PAM environment. */ @@ -541,7 +541,7 @@ sshpam_thread(void *ctxtp) for (i = 0; environ[i] != NULL; i++) { /* Count */ if (i > INT_MAX) - fatal("%s: too many enviornment strings", __func__); + fatal("%s: too many environment strings", __func__); } if ((r = sshbuf_put_u32(buffer, i)) != 0) fatal("%s: buffer error: %s", __func__, ssh_err(r)); @@ -554,7 +554,7 @@ sshpam_thread(void *ctxtp) for (i = 0; env_from_pam != NULL && env_from_pam[i] != NULL; i++) { /* Count */ if (i > INT_MAX) - fatal("%s: too many PAM enviornment strings", __func__); + fatal("%s: too many PAM environment strings", __func__); } if ((r = sshbuf_put_u32(buffer, i)) != 0) fatal("%s: buffer error: %s", __func__, ssh_err(r)); |