summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/network/ssl/qsslsocket_schannel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/network/ssl/qsslsocket_schannel.cpp b/src/network/ssl/qsslsocket_schannel.cpp
index 7ac032bd520..ca9bad96b60 100644
--- a/src/network/ssl/qsslsocket_schannel.cpp
+++ b/src/network/ssl/qsslsocket_schannel.cpp
@@ -167,7 +167,8 @@ private:
}
};
-class SchannelBackendBackendFactory : public QTlsBackendFactory
+bool supportsTls13();
+class SchannelBackendFactory : public QTlsBackendFactory
{
private:
QString backendName() const override
@@ -192,7 +193,6 @@ private:
protocols << QSsl::TlsV1_2;
protocols << QSsl::TlsV1_2OrLater;
- bool supportsTls13();
if (supportsTls13()) {
protocols << QSsl::TlsV1_3;
protocols << QSsl::TlsV1_3OrLater;
@@ -223,7 +223,7 @@ private:
}
};
-Q_GLOBAL_STATIC(SchannelBackendFactory, factory)
+Q_GLOBAL_STATIC(SchannelBackendFactory, factory);
SecBuffer createSecBuffer(void *ptr, unsigned long length, unsigned long bufferType)