diff options
author | Mårten Nordheim <marten.nordheim@qt.io> | 2020-11-18 15:25:02 +0100 |
---|---|---|
committer | Mårten Nordheim <marten.nordheim@qt.io> | 2020-11-19 12:28:44 +0100 |
commit | 1c1c1e4559db204f339c26bd6cbb5d568dcd47e2 (patch) | |
tree | 523e474bb61a3dbd288d6d0690cbeeae48816c72 /src | |
parent | 10a2a1c46e766985f28db82d17852b634a7d6504 (diff) |
Fix schannel TLS 1.3 reneg delay
With TLS 1.3 the client goes through renegotiation
when using Schannel. The status returned is OK and
we can immediately continue, so do that.
Change-Id: I831eaae318df9d94b5fb7672db7e407d94f9da56
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/network/ssl/qsslsocket_schannel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/ssl/qsslsocket_schannel.cpp b/src/network/ssl/qsslsocket_schannel.cpp index 1e59550c59..051eb3fc3f 100644 --- a/src/network/ssl/qsslsocket_schannel.cpp +++ b/src/network/ssl/qsslsocket_schannel.cpp @@ -1696,6 +1696,8 @@ void QSslSocketBackendPrivate::continueHandshake() if (!renegotiate()) { disconnectFromHost(); return; + } else if (intermediateBuffer.size() || plainSocket->bytesAvailable()) { + continueHandshake(); } break; } |