Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/pam_modules/authtok_get/
H A Dauthtok_get.c58 char *authtok; in read_authtok() local
67 res = pam_get_item(pamh, PAM_OLDAUTHTOK, (void **)&authtok); in read_authtok()
71 if (authtok == NULL) { in read_authtok()
72 res = pam_get_item(pamh, PAM_AUTHTOK, (void **)&authtok); in read_authtok()
75 if (authtok != NULL) { in read_authtok()
77 (void *)authtok); in read_authtok()
150 char *authtok; in verify_authtok() local
162 res = pam_get_item(pamh, PAM_AUTHTOK, (void **)&authtok); in verify_authtok()
163 if (res != PAM_SUCCESS || authtok == NULL) in verify_authtok()
172 if (strcmp(authtok, pwd) != 0) { in verify_authtok()
/titanic_41/usr/src/lib/libpam/
H A Dpam_impl.h145 char **authtok);
H A Dpam_framework.c2802 char **authtok) in __pam_get_authtok() argument
2809 if ((*authtok = calloc(PASS_MAX+1, sizeof (char))) == NULL) in __pam_get_authtok()
2829 free(*authtok); in __pam_get_authtok()
2830 *authtok = NULL; in __pam_get_authtok()
2832 (void) strlcpy(*authtok, new_password, in __pam_get_authtok()
2872 (void) strlcpy(*authtok, ret_resp->resp, PASS_MAX+1); in __pam_get_authtok()
2885 bzero(*authtok, PASS_MAX+1); in __pam_get_authtok()
2886 free(*authtok); in __pam_get_authtok()
2887 *authtok = NULL; in __pam_get_authtok()