5 The OpenSSL toolkit stays under a double license, i.e. both the conditions of
6 the OpenSSL License and the original SSLeay license apply to the toolkit.
7 See below for the actual license texts.
12 /* ====================================================================
13 * Copyright (c) 1998-2017 The OpenSSL Project. All rights reserved.
15 * Redistribution and use in source and binary forms, with or without
16 * modification, are permitted provided that the following conditions
19 * 1. Redistributions of source code must retain the above copyright
20 * notice, this list of conditions and the following disclaimer.
22 * 2. Redistributions in binary form must reproduce the above copyright
23 * notice, this list of conditions and the following disclaimer in
24 * the documentation and/or other materials provided with the
27 * 3. All advertising materials mentioning features or use of this
28 * software must display the following acknowledgment:
29 * "This product includes software developed by the OpenSSL Project
30 * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
32 * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
33 * endorse or promote products derived from this software without
34 * prior written permission. For written permission, please contact
35 * openssl-core@openssl.org.
37 * 5. Products derived from this software may not be called "OpenSSL"
38 * nor may "OpenSSL" appear in their names without prior written
39 * permission of the OpenSSL Project.
41 * 6. Redistributions of any form whatsoever must retain the following
43 * "This product includes software developed by the OpenSSL Project
44 * for use in the OpenSSL Toolkit (http://www.openssl.org/)"
46 * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
47 * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
48 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
49 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
50 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
51 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
52 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
53 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
54 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
55 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
56 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
57 * OF THE POSSIBILITY OF SUCH DAMAGE.
58 * ====================================================================
60 * This product includes cryptographic software written by Eric Young
61 * (eay@cryptsoft.com). This product includes software written by Tim
62 * Hudson (tjh@cryptsoft.com).
66 Original SSLeay License
67 -----------------------
69 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
70 * All rights reserved.
72 * This package is an SSL implementation written
73 * by Eric Young (eay@cryptsoft.com).
74 * The implementation was written so as to conform with Netscapes SSL.
76 * This library is free for commercial and non-commercial use as long as
77 * the following conditions are aheared to. The following conditions
78 * apply to all code found in this distribution, be it the RC4, RSA,
79 * lhash, DES, etc., code; not just the SSL code. The SSL documentation
80 * included with this distribution is covered by the same copyright terms
81 * except that the holder is Tim Hudson (tjh@cryptsoft.com).
83 * Copyright remains Eric Young's, and as such any Copyright notices in
84 * the code are not to be removed.
85 * If this package is used in a product, Eric Young should be given attribution
86 * as the author of the parts of the library used.
87 * This can be in the form of a textual message at program startup or
88 * in documentation (online or textual) provided with the package.
90 * Redistribution and use in source and binary forms, with or without
91 * modification, are permitted provided that the following conditions
93 * 1. Redistributions of source code must retain the copyright
94 * notice, this list of conditions and the following disclaimer.
95 * 2. Redistributions in binary form must reproduce the above copyright
96 * notice, this list of conditions and the following disclaimer in the
97 * documentation and/or other materials provided with the distribution.
98 * 3. All advertising materials mentioning features or use of this software
99 * must display the following acknowledgement:
100 * "This product includes cryptographic software written by
101 * Eric Young (eay@cryptsoft.com)"
102 * The word 'cryptographic' can be left out if the rouines from the library
103 * being used are not cryptographic related :-).
104 * 4. If you include any Windows specific code (or a derivative thereof) from
105 * the apps directory (application code) you must include an acknowledgement:
106 * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
108 * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
109 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
110 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
111 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
112 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
113 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
114 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
115 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
116 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
117 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
120 * The licence and distribution terms for any publically available version or
121 * derivative of this code cannot be changed. i.e. this code cannot simply be
122 * copied and put under another distribution licence
123 * [including the GNU Public Licence.]