Changeset 3 in openpam


Ignore:
Timestamp:
Feb 1, 2002, 7:43:56 PM (17 years ago)
Author:
Dag-Erling Smørgrav
Message:

Add non-standard PAM_PASSWD_PROMPT constant to mirror
PAM_USER_PROMPT.

Sponsored by: DARPA, NAI Labs

Location:
trunk
Files:
3 edited

Legend:

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

    r2 r3  
    115115        PAM_RUSER                       =   8,
    116116        PAM_USER_PROMPT                 =   9,
     117        PAM_PASSWD_PROMPT               =  10,          /* OpenPAM extension */
    117118};
    118119
  • trunk/lib/pam_get_item.c

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

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