|
5 | 5 | * a Linking Exception. For full terms see the included COPYING file.
|
6 | 6 | */
|
7 | 7 |
|
8 |
| -/* Copyright (C) 1995-1998 Eric Young ([email protected]) |
9 |
| - * All rights reserved. |
10 |
| - * |
11 |
| - * This package is an SSL implementation written |
12 |
| - * by Eric Young ([email protected]). |
13 |
| - * The implementation was written so as to conform with Netscapes SSL. |
14 |
| - * |
15 |
| - * This library is free for commercial and non-commercial use as long as |
16 |
| - * the following conditions are adhered to. The following conditions |
17 |
| - * apply to all code found in this distribution, be it the RC4, RSA, |
18 |
| - * lhash, DES, etc., code; not just the SSL code. The SSL documentation |
19 |
| - * included with this distribution is covered by the same copyright terms |
20 |
| - * except that the holder is Tim Hudson ([email protected]). |
21 |
| - * |
22 |
| - * Copyright remains Eric Young's, and as such any Copyright notices in |
23 |
| - * the code are not to be removed. |
24 |
| - * If this package is used in a product, Eric Young should be given attribution |
25 |
| - * as the author of the parts of the library used. |
26 |
| - * This can be in the form of a textual message at program startup or |
27 |
| - * in documentation (online or textual) provided with the package. |
28 |
| - * |
29 |
| - * Redistribution and use in source and binary forms, with or without |
30 |
| - * modification, are permitted provided that the following conditions |
31 |
| - * are met: |
32 |
| - * 1. Redistributions of source code must retain the copyright |
33 |
| - * notice, this list of conditions and the following disclaimer. |
34 |
| - * 2. Redistributions in binary form must reproduce the above copyright |
35 |
| - * notice, this list of conditions and the following disclaimer in the |
36 |
| - * documentation and/or other materials provided with the distribution. |
37 |
| - * 3. All advertising materials mentioning features or use of this software |
38 |
| - * must display the following acknowledgement: |
39 |
| - * "This product includes cryptographic software written by |
40 |
| - |
41 |
| - * The word 'cryptographic' can be left out if the routines from the library |
42 |
| - * being used are not cryptographic related :-). |
43 |
| - * 4. If you include any Windows specific code (or a derivative thereof) from |
44 |
| - * the apps directory (application code) you must include an acknowledgement: |
45 |
| - * "This product includes software written by Tim Hudson ([email protected])" |
46 |
| - * |
47 |
| - * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND |
48 |
| - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
49 |
| - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
50 |
| - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE |
51 |
| - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
52 |
| - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
53 |
| - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
54 |
| - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
55 |
| - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
56 |
| - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
57 |
| - * SUCH DAMAGE. |
58 |
| - * |
59 |
| - * The licence and distribution terms for any publicly available version or |
60 |
| - * derivative of this code cannot be changed. i.e. this code cannot simply be |
61 |
| - * copied and put under another distribution licence |
62 |
| - * [including the GNU Public Licence.] |
63 |
| - */ |
64 |
| -/* ==================================================================== |
65 |
| - * Copyright (c) 1998-2007 The OpenSSL Project. All rights reserved. |
66 |
| - * |
67 |
| - * Redistribution and use in source and binary forms, with or without |
68 |
| - * modification, are permitted provided that the following conditions |
69 |
| - * are met: |
70 |
| - * |
71 |
| - * 1. Redistributions of source code must retain the above copyright |
72 |
| - * notice, this list of conditions and the following disclaimer. |
73 |
| - * |
74 |
| - * 2. Redistributions in binary form must reproduce the above copyright |
75 |
| - * notice, this list of conditions and the following disclaimer in |
76 |
| - * the documentation and/or other materials provided with the |
77 |
| - * distribution. |
78 |
| - * |
79 |
| - * 3. All advertising materials mentioning features or use of this |
80 |
| - * software must display the following acknowledgment: |
81 |
| - * "This product includes software developed by the OpenSSL Project |
82 |
| - * for use in the OpenSSL Toolkit. (http://www.openssl.org/)" |
83 |
| - * |
84 |
| - * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to |
85 |
| - * endorse or promote products derived from this software without |
86 |
| - * prior written permission. For written permission, please contact |
87 |
| - |
88 |
| - * |
89 |
| - * 5. Products derived from this software may not be called "OpenSSL" |
90 |
| - * nor may "OpenSSL" appear in their names without prior written |
91 |
| - * permission of the OpenSSL Project. |
92 |
| - * |
93 |
| - * 6. Redistributions of any form whatsoever must retain the following |
94 |
| - * acknowledgment: |
95 |
| - * "This product includes software developed by the OpenSSL Project |
96 |
| - * for use in the OpenSSL Toolkit (http://www.openssl.org/)" |
97 |
| - * |
98 |
| - * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY |
99 |
| - * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
100 |
| - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
101 |
| - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR |
102 |
| - * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
103 |
| - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
104 |
| - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
105 |
| - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
106 |
| - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, |
107 |
| - * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
108 |
| - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
109 |
| - * OF THE POSSIBILITY OF SUCH DAMAGE. |
110 |
| - * ==================================================================== |
111 |
| - * |
112 |
| - * This product includes cryptographic software written by Eric Young |
113 |
| - * ([email protected]). This product includes software written by Tim |
114 |
| - |
115 |
| - * |
116 |
| - */ |
117 |
| -/* ==================================================================== |
118 |
| - * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. |
119 |
| - * ECC cipher suite support in OpenSSL originally developed by |
120 |
| - * SUN MICROSYSTEMS, INC., and contributed to the OpenSSL project. |
121 |
| - */ |
122 |
| -/* ==================================================================== |
123 |
| - * Copyright 2005 Nokia. All rights reserved. |
124 |
| - * |
125 |
| - * The portions of the attached software ("Contribution") is developed by |
126 |
| - * Nokia Corporation and is licensed pursuant to the OpenSSL open source |
127 |
| - * license. |
128 |
| - * |
129 |
| - * The Contribution, originally written by Mika Kousa and Pasi Eronen of |
130 |
| - * Nokia Corporation, consists of the "PSK" (Pre-Shared Key) ciphersuites |
131 |
| - * support (see RFC 4279) to OpenSSL. |
132 |
| - * |
133 |
| - * No patent licenses or other rights except those expressly stated in |
134 |
| - * the OpenSSL open source license shall be deemed granted or received |
135 |
| - * expressly, by implication, estoppel, or otherwise. |
136 |
| - * |
137 |
| - * No assurances are provided by Nokia that the Contribution does not |
138 |
| - * infringe the patent or other intellectual property rights of any third |
139 |
| - * party or that the license provides you with all the necessary rights |
140 |
| - * to make use of the Contribution. |
141 |
| - * |
142 |
| - * THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. IN |
143 |
| - * ADDITION TO THE DISCLAIMERS INCLUDED IN THE LICENSE, NOKIA |
144 |
| - * SPECIFICALLY DISCLAIMS ANY LIABILITY FOR CLAIMS BROUGHT BY YOU OR ANY |
145 |
| - * OTHER ENTITY BASED ON INFRINGEMENT OF INTELLECTUAL PROPERTY RIGHTS OR |
146 |
| - * OTHERWISE. |
147 |
| - */ |
148 |
| - |
149 | 8 | #ifndef INCLUDE_streams_openssl_dynamic_h__
|
150 | 9 | #define INCLUDE_streams_openssl_dynamic_h__
|
151 | 10 |
|
152 | 11 | #ifdef GIT_HTTPS_OPENSSL_DYNAMIC
|
153 | 12 |
|
| 13 | +/* These constants are taken from the OpenSSL 3.0 headers. */ |
| 14 | + |
154 | 15 | # define BIO_CTRL_FLUSH 11
|
155 | 16 |
|
156 | 17 | # define BIO_TYPE_SOURCE_SINK 0x0400
|
|
0 commit comments