Fix schannel compilation issues

Amends 7cf8e5ada9

Change-Id: I6e188675ab53fd173bd75defe9d190a509f4adad
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
bb10
Mårten Nordheim 2021-01-27 10:50:47 +01:00
parent 05741b404a
commit d3735ff838
1 changed files with 3 additions and 3 deletions

View File

@ -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)