1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix(toxencrypt): return the plaintext after decryption

fix #4162
This commit is contained in:
sudden6 2017-02-09 16:20:05 +01:00
parent 1e7fc8cc52
commit 14ee8af3cd
No known key found for this signature in database
GPG Key ID: 279509B499E032B9

View File

@ -147,7 +147,7 @@ QByteArray ToxEncrypt::decryptPass(const QString& password, const QByteArray& ci
return QByteArray{}; return QByteArray{};
} }
return ciphertext; return plaintext;
} }
/** /**
@ -275,7 +275,7 @@ QByteArray ToxEncrypt::decrypt(const QByteArray& ciphertext) const
return QByteArray{}; return QByteArray{};
} }
return ciphertext; return plaintext;
} }
/** /**