Changeset 402 in openpam for trunk


Ignore:
Timestamp:
Nov 28, 2007, 12:26:43 PM (12 years ago)
Author:
Dag-Erling Smørgrav
Message:

Track namespace changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/pam_unix/pam_unix.c

    r394 r402  
    5454#include <security/pam_appl.h>
    5555
    56 #ifndef _OPENPAM
     56#ifndef OPENPAM
    5757static char password_prompt[] = "Password:";
    5858#endif
     
    6666        int argc, const char *argv[])
    6767{
    68 #ifndef _OPENPAM
     68#ifndef OPENPAM
    6969        struct pam_conv *conv;
    7070        struct pam_message msg;
     
    8787
    8888        /* get password */
    89 #ifndef _OPENPAM
     89#ifndef OPENPAM
    9090        pam_err = pam_get_item(pamh, PAM_CONV, (const void **)&conv);
    9191        if (pam_err != PAM_SUCCESS)
     
    9696#endif
    9797        for (retry = 0; retry < 3; ++retry) {
    98 #ifdef _OPENPAM
     98#ifdef OPENPAM
    9999                pam_err = pam_get_authtok(pamh, PAM_AUTHTOK,
    100100                    (const char **)&password, NULL);
     
    125125        else
    126126                pam_err = PAM_SUCCESS;
    127 #ifndef _OPENPAM
     127#ifndef OPENPAM
    128128        free(password);
    129129#endif
Note: See TracChangeset for help on using the changeset viewer.