Changeset 932 in openpam for trunk/lib/libpam/pam_authenticate.c


Ignore:
Timestamp:
Apr 26, 2017, 8:41:59 PM (4 years ago)
Author:
Dag-Erling Smørgrav
Message:

Add two more error codes for situations where we used PAM_SYMBOL_ERR.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/libpam/pam_authenticate.c

    r648 r932  
    6161        ENTER();
    6262        if (flags & ~(PAM_SILENT|PAM_DISALLOW_NULL_AUTHTOK))
    63                 RETURNC(PAM_SYMBOL_ERR);
     63                RETURNC(PAM_BAD_CONSTANT);
    6464        r = openpam_dispatch(pamh, PAM_SM_AUTHENTICATE, flags);
    6565        pam_set_item(pamh, PAM_AUTHTOK, NULL);
     
    7373 *      =pam_sm_authenticate
    7474 *      !PAM_IGNORE
    75  *      PAM_SYMBOL_ERR
     75 *      PAM_BAD_CONSTANT
    7676 */
    7777
     
    9393 *
    9494 * If any other bits are set, =pam_authenticate will return
    95  * =PAM_SYMBOL_ERR.
     95 * =PAM_BAD_CONSTANT.
    9696 */
Note: See TracChangeset for help on using the changeset viewer.