aboutsummaryrefslogtreecommitdiff
path: root/libpamc
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@stoeckmann.org>2023-12-05 23:20:46 +0100
committerDmitry V. Levin <ldv@strace.io>2023-12-18 09:10:08 +0000
commit04134cc04a6c36acd52aa92c955ae0eba72fd038 (patch)
tree68a6afe72ba3127b06aa97ce605fad5289bb7278 /libpamc
parentf186c320aaca53b9c9e724fbe1bc0c8b7b4f7ff8 (diff)
downloadpam-04134cc04a6c36acd52aa92c955ae0eba72fd038.tar.gz
pam-04134cc04a6c36acd52aa92c955ae0eba72fd038.tar.bz2
pam-04134cc04a6c36acd52aa92c955ae0eba72fd038.zip
treewide: fix typos
Typos found with codespell Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Diffstat (limited to 'libpamc')
-rw-r--r--libpamc/pamc_load.c2
-rwxr-xr-xlibpamc/test/agents/secret@here2
-rw-r--r--libpamc/test/modules/pam_secret.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/libpamc/pamc_load.c b/libpamc/pamc_load.c
index c1a39f5b..cbf4b994 100644
--- a/libpamc/pamc_load.c
+++ b/libpamc/pamc_load.c
@@ -247,7 +247,7 @@ int pamc_load(pamc_handle_t pch, const char *agent_id)
pamc_agent_t *agent;
size_t length;
- /* santity checking */
+ /* sanity checking */
if (pch == NULL) {
D(("pch is NULL"));
diff --git a/libpamc/test/agents/secret@here b/libpamc/test/agents/secret@here
index 8d82c013..2bef6474 100755
--- a/libpamc/test/agents/secret@here
+++ b/libpamc/test/agents/secret@here
@@ -83,7 +83,7 @@ sub HandleAgentSelection ($) {
return (0x04, "");
}
- # the selection request is acompanied with a hexadecimal cookie
+ # the selection request is accompanied with a hexadecimal cookie
my @tokens = split '\|', $payload;
unless ((scalar @tokens) == 2) {
diff --git a/libpamc/test/modules/pam_secret.c b/libpamc/test/modules/pam_secret.c
index c4b32ae9..2fe7066c 100644
--- a/libpamc/test/modules/pam_secret.c
+++ b/libpamc/test/modules/pam_secret.c
@@ -378,7 +378,7 @@ static int auth_sequence(pam_handle_t *pamh,
/* expect to receive the following {<seqid>|<a_cookie>} */
if (new->current_reply == NULL) {
- D(("converstation returned [%s] but gave no reply",
+ D(("conversation returned [%s] but gave no reply",
pam_strerror(pamh, retval)));
new->state = PS_STATE_DEAD;
return PAM_CONV_ERR;