Changeset 4 in openpam


Ignore:
Timestamp:
Feb 1, 2002, 8:05:20 PM (16 years ago)
Author:
Dag-Erling Smørgrav
Message:

On second thought, make that PAM_AUTHTOK_PROMPT.

Sponsored by: DARPA, NAI Labs

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/security/pam_constants.h

    r3 r4  
    115115        PAM_RUSER                       =   8,
    116116        PAM_USER_PROMPT                 =   9,
    117         PAM_PASSWD_PROMPT               =  10,          /* OpenPAM extension */
     117        PAM_AUTHTOK_PROMPT              =  10,          /* OpenPAM extension */
    118118};
    119119
  • trunk/lib/pam_get_item.c

    r3 r4  
    6666        case PAM_CONV:
    6767        case PAM_USER_PROMPT:
    68         case PAM_PASSWD_PROMPT:
     68        case PAM_AUTHTOK_PROMPT:
    6969                *item = pamh->item[item_type];
    7070                return (PAM_SUCCESS);
  • trunk/lib/pam_set_item.c

    r3 r4  
    7070        case PAM_RUSER:
    7171        case PAM_USER_PROMPT:
    72         case PAM_PASSWD_PROMPT:
     72        case PAM_AUTHTOK_PROMPT:
    7373                if (item == NULL) {
    7474                        tmp = NULL;
Note: See TracChangeset for help on using the changeset viewer.