diff options
| author | Mårten Nordheim <marten.nordheim@qt.io> | 2023-02-16 16:50:48 +0100 |
|---|---|---|
| committer | Mårten Nordheim <marten.nordheim@qt.io> | 2023-02-17 12:00:03 +0100 |
| commit | 61bfe87a64ca322de0ebf9bf61a0a0a81ee5bf7d (patch) | |
| tree | 553caccacf9b5224bc0fd1fd9bd7a00cd7a581cc /src/corelib/plugin/qmachparser.cpp | |
| parent | 4499600fc78fb7226388db554f9fa95bd59161c4 (diff) | |
TLS[openssl]: Use optional<> for CA cert we are fetching
The QSslCertificate ctor is somewhat expensive, especially when we are
shutting down. By using optional<> we simply reset() it and no longer
need to create a new, valid, certificate.
Pick-to: 6.5 6.4 6.2
Task-number: QTBUG-102474
Change-Id: I514433b0d380dd3ceabbed3a6164f7e3efc490c7
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Konrad Kujawa <konrad.kujawa@qt.io>
Diffstat (limited to 'src/corelib/plugin/qmachparser.cpp')
0 files changed, 0 insertions, 0 deletions
