Skip to content

Commit

Permalink
fix: use TlsV1_2OrLater instead
Browse files Browse the repository at this point in the history
  • Loading branch information
tootal committed Dec 27, 2023
1 parent 62a55a9 commit b88fa4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/networker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ QNetworkReply* NetWorker::get(const QString &url)
if (uri.scheme() == "https") {
QSslConfiguration config = request.sslConfiguration();
config.setPeerVerifyMode(QSslSocket::VerifyNone);
config.setProtocol(QSsl::TlsV1_0);
config.setProtocol(QSsl::TlsV1_2OrLater);
request.setSslConfiguration(config);
}
request.setUrl(uri);
Expand Down

0 comments on commit b88fa4f

Please sign in to comment.