diff options
author | des <des@FreeBSD.org> | 2011-12-18 17:08:40 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2011-12-18 17:08:40 +0000 |
commit | 9a25ed673db408d79135934ee39ea88142f9ed4d (patch) | |
tree | 685cc74eea09898d5b7b579838e8705bcad03ac8 /lib/openpam_static.c | |
parent | 1b15b2817c3ed8a51b9d881b25bfa61bdfb0801a (diff) | |
download | FreeBSD-src-9a25ed673db408d79135934ee39ea88142f9ed4d.zip FreeBSD-src-9a25ed673db408d79135934ee39ea88142f9ed4d.tar.gz |
Vendor import of OpenPAM Lycopsida.
Diffstat (limited to 'lib/openpam_static.c')
-rw-r--r-- | lib/openpam_static.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/openpam_static.c b/lib/openpam_static.c index c06ceed..40b807c 100644 --- a/lib/openpam_static.c +++ b/lib/openpam_static.c @@ -1,6 +1,6 @@ /*- * Copyright (c) 2002-2003 Networks Associates Technology, Inc. - * Copyright (c) 2004-2007 Dag-Erling Smørgrav + * Copyright (c) 2004-2011 Dag-Erling Smørgrav * All rights reserved. * * This software was developed for the FreeBSD Project by ThinkSec AS and @@ -32,9 +32,13 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: openpam_static.c 408 2007-12-21 11:36:24Z des $ + * $Id: openpam_static.c 437 2011-09-13 12:00:13Z des $ */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include <string.h> #include <security/pam_appl.h> @@ -43,7 +47,7 @@ #ifdef OPENPAM_STATIC_MODULES -SET_DECLARE(_openpam_static_modules, pam_module_t); +SET_DECLARE(openpam_static_modules, pam_module_t); /* * OpenPAM internal @@ -56,7 +60,7 @@ openpam_static(const char *path) { pam_module_t **module; - SET_FOREACH(module, _openpam_static_modules) { + SET_FOREACH(module, openpam_static_modules) { if (strcmp((*module)->path, path) == 0) return (*module); } |