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 41
41
#include < QNetworkReply>
42
42
#include < QNetworkRequest>
43
43
#include < QSslCertificate>
44
+ #include < QSslConfiguration>
44
45
#include < QSslError>
45
- #include < QSslSocket>
46
46
#include < QStringList>
47
47
#include < QTextDocument>
48
48
#include < QUrlQuery>
@@ -448,9 +448,9 @@ void PaymentServer::LoadRootCAs(X509_STORE* _store)
448
448
449
449
certList = QSslCertificate::fromPath (certFile);
450
450
// Use those certificates when fetching payment requests, too:
451
- QSslSocket::setDefaultCaCertificates (certList);
451
+ QSslConfiguration::defaultConfiguration (). setCaCertificates (certList);
452
452
} else
453
- certList = QSslSocket ::systemCaCertificates ();
453
+ certList = QSslConfiguration ::systemCaCertificates ();
454
454
455
455
int nRootCerts = 0 ;
456
456
const QDateTime currentTime = QDateTime::currentDateTime ();
You can’t perform that action at this time.
0 commit comments