summaryrefslogtreecommitdiffstats
path: root/src/network/ssl/qsslsocket_openssl.cpp
diff options
context:
space:
mode:
authorTimur Pocheptsov <timur.pocheptsov@qt.io>2021-01-25 15:37:03 +0100
committerTimur Pocheptsov <timur.pocheptsov@qt.io>2021-02-01 14:36:40 +0100
commit1a0da3ae69964142b3a31d87ecc88a925006a4de (patch)
tree88c8f5cd419d3a2aa9e1f42d288321831ec86165 /src/network/ssl/qsslsocket_openssl.cpp
parent59252a3a969dcfd07304400f68503a4687292aac (diff)
QSsl::TlsKey - provide the interface and implementations
which will become parts of TLS plugins in the future. Task-number: QTBUG-65922 Change-Id: I4ee3c59c435fc34a9f4dacd3ff0e3cfb44251e23 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/network/ssl/qsslsocket_openssl.cpp')
-rw-r--r--src/network/ssl/qsslsocket_openssl.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/network/ssl/qsslsocket_openssl.cpp b/src/network/ssl/qsslsocket_openssl.cpp
index e6efaca2d0..c73c2fc235 100644
--- a/src/network/ssl/qsslsocket_openssl.cpp
+++ b/src/network/ssl/qsslsocket_openssl.cpp
@@ -67,6 +67,8 @@
#include "qsslpresharedkeyauthenticator_p.h"
#include "qocspresponse_p.h"
#include "qsslkey.h"
+#include "qtlsbackend_p.h"
+#include "qtlskey_openssl_p.h"
#ifdef Q_OS_WIN
#include "qwindowscarootfetcher_p.h"
@@ -110,6 +112,10 @@ private:
{
return builtinBackendNames[nameIndexOpenSSL];
}
+ QSsl::TlsKey *createKey() const override
+ {
+ return new QSsl::TlsKeyOpenSSL;
+ }
QList<QSsl::SslProtocol> supportedProtocols() const override
{
QList<QSsl::SslProtocol> protocols;