mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-11-30 22:03:00 -08:00
Restore correct formatting
Many lines were not conformant with the project's formatting rules. This patch should fix all formatting and whitespace issues in the code base. A clang-format directive was put around the connect() calls containing SIGNALs and SLOTs whose signatures would be denormalized because of the formatting rules.
This commit is contained in:
1 parent
f9625189cb
commit
fc930bae69
186 files changed
+2437
-2122
No files matched your search
@@ -144,8 +144,9 @@ bool Crypto::testSha512()
|
||||
QByteArray sha512Test =
|
||||
CryptoHash::hash("abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq", CryptoHash::Sha512);
|
||||
|
||||
if (sha512Test != QByteArray::fromHex("204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b"
|
||||
"07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445")) {
|
||||
if (sha512Test
|
||||
!= QByteArray::fromHex("204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c33596fd15c13b1b"
|
||||
"07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445")) {
|
||||
raiseError("SHA-512 mismatch.");
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user