Home
last modified time | relevance | path

Searched refs:authtok (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/pam_modules/authtok_get/
H A Dauthtok_get.c60 const char *authtok; in read_authtok() local
69 res = pam_get_item(pamh, PAM_OLDAUTHTOK, (const void **)&authtok); in read_authtok()
73 if (authtok == NULL) { in read_authtok()
74 res = pam_get_item(pamh, PAM_AUTHTOK, (const void **)&authtok); in read_authtok()
77 if (authtok != NULL) { in read_authtok()
79 (void *)authtok); in read_authtok()
152 const char *authtok; in verify_authtok() local
164 res = pam_get_item(pamh, PAM_AUTHTOK, (const void **)&authtok); in verify_authtok()
165 if (res != PAM_SUCCESS || authtok == NULL) in verify_authtok()
174 if (strcmp(authtok, pwd) != 0) { in verify_authtok()
/illumos-gate/usr/src/lib/libpam/
H A Dpam_framework.c2809 char **authtok) in __pam_get_authtok() argument
2816 if ((*authtok = calloc(PASS_MAX+1, sizeof (char))) == NULL) in __pam_get_authtok()
2836 free(*authtok); in __pam_get_authtok()
2837 *authtok = NULL; in __pam_get_authtok()
2839 (void) strlcpy(*authtok, new_password, in __pam_get_authtok()
2879 (void) strlcpy(*authtok, ret_resp->resp, PASS_MAX+1); in __pam_get_authtok()
2892 bzero(*authtok, PASS_MAX+1); in __pam_get_authtok()
2893 free(*authtok); in __pam_get_authtok()
2894 *authtok = NULL; in __pam_get_authtok()
H A Dpam_impl.h145 char **authtok);