Changeset 39 in openpam for trunk/lib/pam_get_user.c


Ignore:
Timestamp:
Feb 7, 2002, 12:22:08 PM (19 years ago)
Author:
Dag-Erling Smørgrav
Message:

Introduce pam_v{info,error,prompt}().
Move OpenPAM API extensions into <security/openpam.h> to avoid
namespace pollution for apps or modules that do not use them.

Sponsored by: DARPA, NAI Labs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/pam_get_user.c

    r35 r39  
    3838
    3939#include <security/pam_appl.h>
     40#include <security/openpam.h>
    4041
    4142#include "openpam_impl.h"
     
    6768                        prompt = "Login: ";
    6869        }
    69         r = pam_prompt(pamh, &resp, 0, "%s", prompt ? prompt : p);
     70        r = pam_prompt(pamh, PAM_PROMPT_ECHO_ON, &resp,
     71            "%s", prompt ? prompt : p);
    7072        if (r != PAM_SUCCESS)
    7173                return (r);
Note: See TracChangeset for help on using the changeset viewer.