Changeset 100 in openpam for trunk/lib/pam_get_item.c


Ignore:
Timestamp:
Apr 6, 2002, 5:05:21 PM (19 years ago)
Author:
Dag-Erling Smørgrav
Message:

Change pam_get_authtok()'s prototype so the caller can specify
what token it wants. Also introduce PAM_OLDAUTHTOK_PROMPT.

Sponsored by: DARPA, NAI Labs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/pam_get_item.c

    r93 r100  
    3232 * SUCH DAMAGE.
    3333 *
    34  * $P4: //depot/projects/openpam/lib/pam_get_item.c#10 $
     34 * $P4: //depot/projects/openpam/lib/pam_get_item.c#11 $
    3535 */
    3636
     
    6767        case PAM_USER_PROMPT:
    6868        case PAM_AUTHTOK_PROMPT:
     69        case PAM_OLDAUTHTOK_PROMPT:
    6970                *item = pamh->item[item_type];
    7071                return (PAM_SUCCESS);
     
    113114 *              The prompt to use when asking the applicant for an
    114115 *              authentication token.
     116 *      =PAM_OLDAUTHTOK_PROMPT:
     117 *              The prompt to use when asking the applicant for an
     118 *              expired authentication token prior to changing it.
    115119 *
    116120 * See =pam_start for a description of =struct pam_conv.
Note: See TracChangeset for help on using the changeset viewer.