1Copyright (c) 2002, 2006, 2009, 2010, 2025, Oracle and/or its affiliates.
2
3Permission is hereby granted, free of charge, to any person obtaining a
4copy of this software and associated documentation files (the "Software"),
5to deal in the Software without restriction, including without limitation
6the rights to use, copy, modify, merge, publish, distribute, sublicense,
7and/or sell copies of the Software, and to permit persons to whom the
8Software is furnished to do so, subject to the following conditions:
9
10The above copyright notice and this permission notice (including the next
11paragraph) shall be included in all copies or substantial portions of the
12Software.
13
14THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
17THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20DEALINGS IN THE SOFTWARE.
21
22	------------------------------------------------------------
23
24Copyright 1988, 1989, 1990, 1991, 1994, 1998  The Open Group
25
26Permission to use, copy, modify, distribute, and sell this software and its
27documentation for any purpose is hereby granted without fee, provided that
28the above copyright notice appear in all copies and that both that
29copyright notice and this permission notice appear in supporting
30documentation.
31
32The above copyright notice and this permission notice shall be included
33in all copies or substantial portions of the Software.
34
35THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
36OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
37MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
38IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
39OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
40ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
41OTHER DEALINGS IN THE SOFTWARE.
42
43Except as contained in this notice, the name of The Open Group shall
44not be used in advertising or otherwise to promote the sale, use or
45other dealings in this Software without prior written authorization
46from The Open Group.
47
48	------------------------------------------------------------
49
50Copyright 1988, 1990, 1998  The Open Group
51
52Permission to use, copy, modify, distribute, and sell this software and its
53documentation for any purpose is hereby granted without fee, provided that
54the above copyright notice appear in all copies and that both that
55copyright notice and this permission notice appear in supporting
56documentation.
57
58The above copyright notice and this permission notice shall be included in
59all copies or substantial portions of the Software.
60
61THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
62IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
63FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
64OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
65AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
66CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
67
68Except as contained in this notice, the name of a copyright holder shall not be
69used in advertising or otherwise to promote the sale, use or other dealings
70in this Software without prior written authorization from the copyright holder.
71
72	------------------------------------------------------------
73
74Copyright 1998 by Thomas E. Dickey <dickey@clark.net>
75
76                        All Rights Reserved
77
78Permission is hereby granted, free of charge, to any person obtaining a
79copy of this software and associated documentation files (the
80"Software"), to deal in the Software without restriction, including
81without limitation the rights to use, copy, modify, merge, publish,
82distribute, sublicense, and/or sell copies of the Software, and to
83permit persons to whom the Software is furnished to do so, subject to
84the following conditions:
85
86The above copyright notice and this permission notice shall be included
87in all copies or substantial portions of the Software.
88
89THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
90OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
91MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
92IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
93CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
94TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
95SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
96
97Except as contained in this notice, the name(s) of the above copyright
98holders shall not be used in advertising or otherwise to promote the
99sale, use or other dealings in this Software without prior written
100authorization.
101
102	------------------------------------------------------------
103
104md5 code in genauth.c implements something close to the MD5 message-digest
105algorithm.  This code is based on code written by Colin Plumb in 1993,
106no copyright is claimed.
107This code is in the public domain; do with it what you wish.
108
109	------------------------------------------------------------
110
111Copyright Theodore Ts'o, 1994, 1995, 1996, 1997, 1998, 1999.  All
112rights reserved.
113
114Redistribution and use in source and binary forms, with or without
115modification, are permitted provided that the following conditions
116are met:
1171. Redistributions of source code must retain the above copyright
118   notice, and the entire permission notice in its entirety,
119   including the disclaimer of warranties.
1202. Redistributions in binary form must reproduce the above copyright
121   notice, this list of conditions and the following disclaimer in the
122   documentation and/or other materials provided with the distribution.
1233. The name of the author may not be used to endorse or promote
124   products derived from this software without specific prior
125   written permission.
126
127THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
128WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
129OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF
130WHICH ARE HEREBY DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE
131LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
132CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
133OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
134BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
135LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
136(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
137USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH
138DAMAGE.
139
140	------------------------------------------------------------
141
142Copyright (c) 1995,1999 Theo de Raadt.  All rights reserved.
143Copyright (c) 2001-2002 Damien Miller.  All rights reserved.
144
145Redistribution and use in source and binary forms, with or without
146modification, are permitted provided that the following conditions
147are met:
1481. Redistributions of source code must retain the above copyright
149   notice, this list of conditions and the following disclaimer.
1502. Redistributions in binary form must reproduce the above copyright
151   notice, this list of conditions and the following disclaimer in the
152   documentation and/or other materials provided with the distribution.
153
154THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
155IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
156OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
157IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
158INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
159NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
160DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
161THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
162(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
163THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
164
165