--- a/qmlfrontend/net_session.cpp Sat Nov 12 15:40:20 2022 +0100
+++ b/qmlfrontend/net_session.cpp Sat Nov 12 21:12:14 2022 +0100
@@ -340,7 +340,7 @@
QString hash =
QCryptographicHash::hash(m_clientSalt.toLatin1()
.append(m_serverSalt.toLatin1())
- .append(m_passwordHash)
+ .append(m_passwordHash.toLatin1())
.append(QByteArray::number(cProtocolVersion))
.append("!hedgewars"),
QCryptographicHash::Sha1)
@@ -349,7 +349,7 @@
m_serverHash =
QCryptographicHash::hash(m_serverSalt.toLatin1()
.append(m_clientSalt.toLatin1())
- .append(m_passwordHash)
+ .append(m_passwordHash.toLatin1())
.append(QByteArray::number(cProtocolVersion))
.append("!hedgewars"),
QCryptographicHash::Sha1)