summaryrefslogtreecommitdiffstats
path: root/tests/auto/network
diff options
context:
space:
mode:
authorAndré Klitzing <aklitzing@gmail.com>2020-07-17 15:47:33 +0200
committerAndré Klitzing <aklitzing@gmail.com>2020-07-17 16:28:52 +0200
commit4581cd5fb664676cadda855490b3f21c2ed28a58 (patch)
tree47d2889420ab257bbb8c72336ccef6f36b275db2 /tests/auto/network
parent0e240204b59c33987cb0c8c1ed64ac60e21c18b4 (diff)
Fix OCSP-Stapling error if identity cannot be verified
If QSslConfiguration::setCaCertificates is set to empty list openssl cannot verify the OCSP-Response. Qt will provide it as QSslError::OcspResponseCannotBeTrusted that can be ignored. But the openssl error is still in the error queue and prevents a successful reply in QNetworkReply::finished. So let's clear the queue after OCSP checking to avoid side affects. Change-Id: I44a7f45a2eebd20ea86a235a0534f80986c40a26 Fixes: QTBUG-85638 Pick-to: 5.15 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'tests/auto/network')
0 files changed, 0 insertions, 0 deletions