HomePhabricator

[backport] qt: Replace obsolete functions of QSslSocket #16708

Description

[backport] qt: Replace obsolete functions of QSslSocket #16708

Summary:
2e1455c4a100170c322165af3ecbbcd3004b2f9d Replace obsolete functions of QSslSocket (Hennadii Stepanov)

Pull request description:

The [QSslSocket::setDefaultCaCertificates()](https://doc.qt.io/qt-5/qsslsocket-obsolete.html#setDefaultCaCertificates) and [QSslSocket::systemCaCertificates()](https://doc.qt.io/qt-5/qsslsocket-obsolete.html#systemCaCertificates) member functions are obsolete since Qt 5.12.

This PR replaces them, does not change behavior and keeps compatibility with Qt 5.5.1.


This is a backport of Core PR16708

Test Plan:

ninja check

Reviewers: O1 Bitcoin ABC, #bitcoin_abc, deadalnix

Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D5382

Details

Provenance
Wladimir J. van der Laan <laanwj@protonmail.com>Authored on Aug 29 2019, 11:09
majcostaCommitted on Feb 29 2020, 16:10
majcostaPushed on Feb 29 2020, 16:10
Reviewer
Restricted Owners Package
Differential Revision
D5382: [backport] qt: Replace obsolete functions of QSslSocket #16708
Parents
rABC00fb6d9fc96d: [validation.cpp] update 'cousins' during UpdateFlags
Branches
Unknown
Tags
Unknown