summaryrefslogtreecommitdiffstats
path: root/src/network/ssl/qsslsocket_openssl_p.h
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2020-06-22 12:25:41 +0200
committerJarek Kobus <jaroslaw.kobus@qt.io>2020-06-26 14:42:43 +0200
commit0e6f6507d5920e2566f790007b97bda6441ec577 (patch)
tree6b857694bbf1cce37dba4aec3f0267135cc480a4 /src/network/ssl/qsslsocket_openssl_p.h
parentdb61e43c81f4b5ed8c36365f63c2e2fb81e2a1e7 (diff)
Use QList instead of QVector in network
Task-number: QTBUG-84469 Change-Id: I7827da68e73ca8ff1e599c836f2157894c452b63 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/network/ssl/qsslsocket_openssl_p.h')
-rw-r--r--src/network/ssl/qsslsocket_openssl_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/network/ssl/qsslsocket_openssl_p.h b/src/network/ssl/qsslsocket_openssl_p.h
index de1dcfc91a..b45bbb0a30 100644
--- a/src/network/ssl/qsslsocket_openssl_p.h
+++ b/src/network/ssl/qsslsocket_openssl_p.h
@@ -69,7 +69,7 @@
#include <QtNetwork/private/qtnetworkglobal_p.h>
#include "qsslsocket_p.h"
-#include <QtCore/qvector.h>
+#include <QtCore/qlist.h>
#include <QtCore/qstring.h>
#ifdef Q_OS_WIN
@@ -129,7 +129,7 @@ public:
BIO *readBio;
BIO *writeBio;
SSL_SESSION *session;
- QVector<QSslErrorEntry> errorList;
+ QList<QSslErrorEntry> errorList;
static int s_indexForSSLExtraData; // index used in SSL_get_ex_data to get the matching QSslSocketBackendPrivate
enum ExDataOffset {
errorOffsetInExData = 1,
@@ -174,7 +174,7 @@ public:
// This decription will go to setErrorAndEmit(SslHandshakeError, ocspErrorDescription)
QString ocspErrorDescription;
// These will go to sslErrors()
- QVector<QSslError> ocspErrors;
+ QList<QSslError> ocspErrors;
QByteArray ocspResponseDer;
Q_AUTOTEST_EXPORT static long setupOpenSslOptions(QSsl::SslProtocol protocol, QSsl::SslOptions sslOptions);