QtBase  v6.3.1
qopenssl_p.h
Go to the documentation of this file.
1 /****************************************************************************
2 **
3 ** Copyright (C) 2017 The Qt Company Ltd.
4 ** Contact: https://www.qt.io/licensing/
5 **
6 ** This file is part of the QtNetwork module of the Qt Toolkit.
7 **
8 ** $QT_BEGIN_LICENSE:LGPL$
9 ** Commercial License Usage
10 ** Licensees holding valid commercial Qt licenses may use this file in
11 ** accordance with the commercial license agreement provided with the
12 ** Software or, alternatively, in accordance with the terms contained in
13 ** a written agreement between you and The Qt Company. For licensing terms
14 ** and conditions see https://www.qt.io/terms-conditions. For further
15 ** information use the contact form at https://www.qt.io/contact-us.
16 **
17 ** GNU Lesser General Public License Usage
18 ** Alternatively, this file may be used under the terms of the GNU Lesser
19 ** General Public License version 3 as published by the Free Software
20 ** Foundation and appearing in the file LICENSE.LGPL3 included in the
21 ** packaging of this file. Please review the following information to
22 ** ensure the GNU Lesser General Public License version 3 requirements
23 ** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
24 **
25 ** GNU General Public License Usage
26 ** Alternatively, this file may be used under the terms of the GNU
27 ** General Public License version 2.0 or (at your option) the GNU General
28 ** Public license version 3 or any later version approved by the KDE Free
29 ** Qt Foundation. The licenses are as published by the Free Software
30 ** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
31 ** included in the packaging of this file. Please review the following
32 ** information to ensure the GNU General Public License requirements will
33 ** be met: https://www.gnu.org/licenses/gpl-2.0.html and
34 ** https://www.gnu.org/licenses/gpl-3.0.html.
35 **
36 ** $QT_END_LICENSE$
37 **
38 ****************************************************************************/
39 
40 /****************************************************************************
41 **
42 ** In addition, as a special exception, the copyright holders listed above give
43 ** permission to link the code of its release of Qt with the OpenSSL project's
44 ** "OpenSSL" library (or modified versions of the "OpenSSL" library that use the
45 ** same license as the original version), and distribute the linked executables.
46 **
47 ** You must comply with the GNU General Public License version 2 in all
48 ** respects for all of the code used other than the "OpenSSL" code. If you
49 ** modify this file, you may extend this exception to your version of the file,
50 ** but you are not obligated to do so. If you do not wish to do so, delete
51 ** this exception statement from your version of this file.
52 **
53 ****************************************************************************/
54 
55 #ifndef QSSLSOCKET_OPENSSL_P_H
56 #define QSSLSOCKET_OPENSSL_P_H
57 
58 //
59 // W A R N I N G
60 // -------------
61 //
62 // This file is not part of the Qt API. It exists purely as an
63 // implementation detail. This header file may change from version to
64 // version without notice, or even be removed.
65 //
66 // We mean it.
67 //
68 
69 #include <QtNetwork/private/qtnetworkglobal_p.h>
70 
71 #include <QtNetwork/private/qsslsocket_p.h>
72 
73 #include <QtNetwork/qsslcipher.h>
74 
75 #ifdef Q_OS_WIN
76 #include <qt_windows.h>
77 #if defined(OCSP_RESPONSE)
78 #undef OCSP_RESPONSE
79 #endif
80 #if defined(X509_NAME)
81 #undef X509_NAME
82 #endif
83 #endif // Q_OS_WIN
84 
85 // This file is included in several *.cpp files and provides different
86 // openssl declarations where they are needed.
87 #include <openssl/asn1.h>
88 #include <openssl/bio.h>
89 #include <openssl/bn.h>
90 #include <openssl/err.h>
91 #include <openssl/evp.h>
92 #include <openssl/pem.h>
93 #include <openssl/pkcs12.h>
94 #include <openssl/pkcs7.h>
95 #include <openssl/rand.h>
96 #include <openssl/ssl.h>
97 #include <openssl/stack.h>
98 #include <openssl/x509.h>
99 #include <openssl/x509v3.h>
100 #include <openssl/x509_vfy.h>
101 #include <openssl/dsa.h>
102 #include <openssl/rsa.h>
103 #include <openssl/crypto.h>
104 #include <openssl/tls1.h>
105 #include <openssl/dh.h>
106 
108 
110  int code = 0;
111  int depth = 0;
112 };
113 
115 
117 
118 #endif
GLint GLenum GLsizei GLsizei GLsizei depth
Q_DECLARE_TYPEINFO(QSslErrorEntry, Q_PRIMITIVE_TYPE)
@ Q_PRIMITIVE_TYPE
Definition: qtypeinfo.h:155
Definition: qopenssl_p.h:109
Definition: inftrees.h:24