From 6445dad7d66fa6a1867090fcd9602c98863649f6 Mon Sep 17 00:00:00 2001 From: ebiggers Date: Sun, 8 Sep 2019 19:46:59 -0700 Subject: Fix various typos and grammatical errors (#141) These were found by a combination of manual review and a custom script that checks for common errors. Also removed an outdated sentence from the comment for setupBefore(). --- pam/pam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pam/pam.c') diff --git a/pam/pam.c b/pam/pam.c index bb16427..1859a2f 100644 --- a/pam/pam.c +++ b/pam/pam.c @@ -101,7 +101,7 @@ void* copyIntoSecret(void* data) { void freeSecret(pam_handle_t* pamh, char* data, int error_status) { size_t size = strlen(data) + 1; // Include null terminator - // Use volitile function pointer to actually clear the memory. + // Use volatile function pointer to actually clear the memory. static void* (*const volatile memset_sec)(void*, int, size_t) = &memset; memset_sec(data, 0, size); munlock(data, size); -- cgit v1.2.3