File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 4141#include < QNetworkReply>
4242#include < QNetworkRequest>
4343#include < QSslCertificate>
44+ #include < QSslConfiguration>
4445#include < QSslError>
45- #include < QSslSocket>
4646#include < QStringList>
4747#include < QTextDocument>
4848#include < QUrlQuery>
@@ -448,9 +448,9 @@ void PaymentServer::LoadRootCAs(X509_STORE* _store)
448448
449449 certList = QSslCertificate::fromPath (certFile);
450450 // Use those certificates when fetching payment requests, too:
451- QSslSocket::setDefaultCaCertificates (certList);
451+ QSslConfiguration::defaultConfiguration (). setCaCertificates (certList);
452452 } else
453- certList = QSslSocket ::systemCaCertificates ();
453+ certList = QSslConfiguration ::systemCaCertificates ();
454454
455455 int nRootCerts = 0 ;
456456 const QDateTime currentTime = QDateTime::currentDateTime ();
You can’t perform that action at this time.
0 commit comments