Updatethe sample module from the OpenPAM repo.

This commit is contained in:
Dag-Erling Smørgrav 2003-05-23 01:00:36 +00:00
parent 39009f9582
commit ae08dcd679
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=17078

View file

@ -3,9 +3,9 @@
* All rights reserved. * All rights reserved.
* *
* This software was developed for the FreeBSD Project by ThinkSec AS and * This software was developed for the FreeBSD Project by ThinkSec AS and
* NAI Labs, the Security Research Division of Network Associates, Inc. * Network Associates Laboratories, the Security Research Division of
* under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the * Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
* DARPA CHATS research program. * ("CBOSS"), as part of the DARPA CHATS research program.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions * modification, are permitted provided that the following conditions
@ -31,7 +31,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* $P4: //depot/projects/openpam/modules/pam_unix/pam_unix.c#1 $ * $P4: //depot/projects/openpam/modules/pam_unix/pam_unix.c#3 $
* $FreeBSD$ * $FreeBSD$
*/ */
@ -44,6 +44,7 @@
#include <unistd.h> #include <unistd.h>
#include <security/pam_modules.h> #include <security/pam_modules.h>
#include <security/pam_appl.h>
#ifndef _OPENPAM #ifndef _OPENPAM
static char password_prompt[] = "Password:"; static char password_prompt[] = "Password:";