mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2024-12-30 18:17:26 +01:00
Fix QSslSocket::ignoreSslErrors compile error with Qt 6
This commit is contained in:
parent
09c7ff9e8b
commit
6bf325c6f6
@ -284,7 +284,7 @@ void LocalRedirectServer::incomingConnection(qintptr socket_descriptor) {
|
|||||||
emit Finished();
|
emit Finished();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
ssl_socket->ignoreSslErrors({QSslError::SelfSignedCertificate});
|
ssl_socket->ignoreSslErrors(QList<QSslError>() << QSslError(QSslError::SelfSignedCertificate));
|
||||||
ssl_socket->setPrivateKey(ssl_key_);
|
ssl_socket->setPrivateKey(ssl_key_);
|
||||||
ssl_socket->setLocalCertificate(ssl_certificate_);
|
ssl_socket->setLocalCertificate(ssl_certificate_);
|
||||||
ssl_socket->setProtocol(QSsl::TlsV1_2);
|
ssl_socket->setProtocol(QSsl::TlsV1_2);
|
||||||
|
Loading…
Reference in New Issue
Block a user