diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2013-11-28 13:28:01 -0600 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2013-11-28 13:28:01 -0600 |
commit | 72849e2a6f973af3eeaa573a66635e37cc427bb0 (patch) | |
tree | 2d3beea645819ba70a32c19a092a874f4e89c399 /tdewallet/backend/tdewalletbackend.cc | |
parent | b46a7c35c167304acc48675b979ca8b32bc3d293 (diff) | |
download | tdelibs-72849e2a6f973af3eeaa573a66635e37cc427bb0.tar.gz tdelibs-72849e2a6f973af3eeaa573a66635e37cc427bb0.zip |
Fix remnant QMIN/QMAX to TQMIN/TQMAX.
Diffstat (limited to 'tdewallet/backend/tdewalletbackend.cc')
-rw-r--r-- | tdewallet/backend/tdewalletbackend.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tdewallet/backend/tdewalletbackend.cc b/tdewallet/backend/tdewalletbackend.cc index 5fe313ed9..83e37a49a 100644 --- a/tdewallet/backend/tdewalletbackend.cc +++ b/tdewallet/backend/tdewalletbackend.cc @@ -161,7 +161,7 @@ static int password2hash(const TQByteArray& password, TQByteArray& hash) { TQByteArray block1(shasz); - sha.process(password.data(), QMIN(password.size(), 16)); + sha.process(password.data(), TQMIN(password.size(), 16)); // To make brute force take longer for (int i = 0; i < 2000; i++) { @@ -173,7 +173,7 @@ static int password2hash(const TQByteArray& password, TQByteArray& hash) { sha.reset(); if (password.size() > 16) { - sha.process(password.data() + 16, QMIN(password.size() - 16, 16)); + sha.process(password.data() + 16, TQMIN(password.size() - 16, 16)); TQByteArray block2(shasz); // To make brute force take longer for (int i = 0; i < 2000; i++) { @@ -185,7 +185,7 @@ static int password2hash(const TQByteArray& password, TQByteArray& hash) { sha.reset(); if (password.size() > 32) { - sha.process(password.data() + 32, QMIN(password.size() - 32, 16)); + sha.process(password.data() + 32, TQMIN(password.size() - 32, 16)); TQByteArray block3(shasz); // To make brute force take longer |