xref: /freebsd-src/lib/libutil/auth.c (revision 1d386b48a555f61cb7325543adbbb5c3f3407a66)
15e53a4f9SPedro F. Giffuni /*-
2*4d846d26SWarner Losh  * SPDX-License-Identifier: BSD-2-Clause
35e53a4f9SPedro F. Giffuni  *
4b704025fSJordan K. Hubbard  * Simple authentication database handling code.
5b704025fSJordan K. Hubbard  *
6b704025fSJordan K. Hubbard  * Copyright (c) 1998
7b704025fSJordan K. Hubbard  *	Jordan Hubbard.  All rights reserved.
8b704025fSJordan K. Hubbard  *
9b704025fSJordan K. Hubbard  * Redistribution and use in source and binary forms, with or without
10b704025fSJordan K. Hubbard  * modification, are permitted provided that the following conditions
11b704025fSJordan K. Hubbard  * are met:
12b704025fSJordan K. Hubbard  * 1. Redistributions of source code must retain the above copyright
13b704025fSJordan K. Hubbard  *    notice, this list of conditions and the following disclaimer,
14b704025fSJordan K. Hubbard  *    verbatim and that no modifications are made prior to this
15b704025fSJordan K. Hubbard  *    point in the file.
16b704025fSJordan K. Hubbard  * 2. Redistributions in binary form must reproduce the above copyright
17b704025fSJordan K. Hubbard  *    notice, this list of conditions and the following disclaimer in the
18b704025fSJordan K. Hubbard  *    documentation and/or other materials provided with the distribution.
19b704025fSJordan K. Hubbard  *
20b704025fSJordan K. Hubbard  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
21b704025fSJordan K. Hubbard  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22b704025fSJordan K. Hubbard  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23b704025fSJordan K. Hubbard  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR HIS PETS BE LIABLE
24b704025fSJordan K. Hubbard  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25b704025fSJordan K. Hubbard  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26b704025fSJordan K. Hubbard  * OR SERVICES; LOSS OF USE, DATA, LIFE OR PROFITS; OR BUSINESS INTERRUPTION)
27b704025fSJordan K. Hubbard  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28b704025fSJordan K. Hubbard  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29b704025fSJordan K. Hubbard  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30b704025fSJordan K. Hubbard  * SUCH DAMAGE.
31b704025fSJordan K. Hubbard  */
32b704025fSJordan K. Hubbard 
338719c58fSMatthew Dillon #include <sys/cdefs.h>
347c5a9216SDag-Erling Smørgrav #include <stdlib.h>
357c5a9216SDag-Erling Smørgrav 
36b704025fSJordan K. Hubbard #include <libutil.h>
37b704025fSJordan K. Hubbard 
38b704025fSJordan K. Hubbard char *
auth_getval(const char * name)39b704025fSJordan K. Hubbard auth_getval(const char *name)
40b704025fSJordan K. Hubbard {
417c5a9216SDag-Erling Smørgrav 
427c5a9216SDag-Erling Smørgrav 	(void)name;
437c5a9216SDag-Erling Smørgrav 	return (NULL);
44b704025fSJordan K. Hubbard }
45