aboutsummaryrefslogtreecommitdiff
path: root/pam/pam.h
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2021-12-21 21:59:01 -0600
committerGitHub <noreply@github.com>2021-12-21 21:59:01 -0600
commitaa7e4237024f5cf6bb2817ef997dbc18197b30a6 (patch)
tree2aa1240435ff91f25b0f05923e80cb8b299ef337 /pam/pam.h
parentce477ef12ac46c4df0152d43dae5d6e58772b120 (diff)
parentb7399903540c95e89f0ee427fed1de07301fbd93 (diff)
Merge pull request #334 from ebiggers/warn-on-chauthtok-fail
pam_fscrypt: warn user if OLDAUTHTOK not given in chauthtok
Diffstat (limited to 'pam/pam.h')
-rw-r--r--pam/pam.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pam/pam.h b/pam/pam.h
index 54bb193..3cb609a 100644
--- a/pam/pam.h
+++ b/pam/pam.h
@@ -41,4 +41,7 @@ void *copyIntoSecret(void *data);
// CleaupFunc that Zeros wipes a C string and unlocks and frees its memory.
void freeSecret(pam_handle_t *pamh, char *data, int error_status);
+// Sends a message to the application using pam_info().
+void infoMessage(pam_handle_t *pamh, const char *message);
+
#endif // FSCRYPT_PAM_H