From 72849e2a6f973af3eeaa573a66635e37cc427bb0 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Thu, 28 Nov 2013 13:28:01 -0600 Subject: Fix remnant QMIN/QMAX to TQMIN/TQMAX. --- tdewallet/backend/tdewalletbackend.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tdewallet') 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 -- cgit v1.2.1