summaryrefslogtreecommitdiffstats
path: root/kio/misc/tdesasl
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:33:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:33:40 -0600
commit4fb897b216c41c13f128c71bcc66f60e2dc601c4 (patch)
tree2891b54cd6ec39db133da0110028ec93fc006751 /kio/misc/tdesasl
parent8fc8811ef6079a15decd33f1ea5d95dd718e4557 (diff)
downloadtdelibs-4fb897b216c41c13f128c71bcc66f60e2dc601c4.tar.gz
tdelibs-4fb897b216c41c13f128c71bcc66f60e2dc601c4.zip
Rename additional global TQt functions
Diffstat (limited to 'kio/misc/tdesasl')
-rw-r--r--kio/misc/tdesasl/tdesasl.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kio/misc/tdesasl/tdesasl.cpp b/kio/misc/tdesasl/tdesasl.cpp
index 37195faf3..ef0768f98 100644
--- a/kio/misc/tdesasl/tdesasl.cpp
+++ b/kio/misc/tdesasl/tdesasl.cpp
@@ -144,18 +144,18 @@ TQByteArray KDESasl::getDigestMd5Response(const TQByteArray &aChallenge)
while (d < aChallenge.size() && aChallenge[d] != ',') d++;
}
str = TQCString(aChallenge.data() + c, d - c + 1);
- if (qstrnicmp(aChallenge.data() + a, "realm=", 6) == 0) realm = str;
- else if (qstrnicmp(aChallenge.data() + a, "nonce=", 6) == 0) nonce = str;
- else if (qstrnicmp(aChallenge.data() + a, "qop=", 4) == 0) qop = str;
- else if (qstrnicmp(aChallenge.data() + a, "algorithm=", 10) == 0)
+ if (tqstrnicmp(aChallenge.data() + a, "realm=", 6) == 0) realm = str;
+ else if (tqstrnicmp(aChallenge.data() + a, "nonce=", 6) == 0) nonce = str;
+ else if (tqstrnicmp(aChallenge.data() + a, "qop=", 4) == 0) qop = str;
+ else if (tqstrnicmp(aChallenge.data() + a, "algorithm=", 10) == 0)
algorithm = str;
- else if (qstrnicmp(aChallenge.data() + a, "charset=", 8) == 0)
+ else if (tqstrnicmp(aChallenge.data() + a, "charset=", 8) == 0)
charset = str;
a = (d < aChallenge.size() && aChallenge[d] == '"') ? d + 2 : d + 1;
}
if (qop.isEmpty()) qop = "auth";
qop = "auth";
- bool utf8 = qstricmp(charset, "utf-8") == 0;
+ bool utf8 = tqstricmp(charset, "utf-8") == 0;
TQCString digestUri = TQCString(mProtocol.latin1()) + "/" + realm;
/* Calculate the response */
@@ -248,11 +248,11 @@ TQByteArray KDESasl::getBinaryResponse(const TQByteArray &aChallenge, bool aBase
KCodecs::base64Encode(getBinaryResponse(ba, false), ba);
return ba;
}
- if (qstricmp(mMethod, "PLAIN") == 0) return getPlainResponse();
- if (qstricmp(mMethod, "LOGIN") == 0) return getLoginResponse();
- if (qstricmp(mMethod, "CRAM-MD5") == 0)
+ if (tqstricmp(mMethod, "PLAIN") == 0) return getPlainResponse();
+ if (tqstricmp(mMethod, "LOGIN") == 0) return getLoginResponse();
+ if (tqstricmp(mMethod, "CRAM-MD5") == 0)
return getCramMd5Response(aChallenge);
- if (qstricmp(mMethod, "DIGEST-MD5") == 0)
+ if (tqstricmp(mMethod, "DIGEST-MD5") == 0)
return getDigestMd5Response(aChallenge);
// return getDigestMd5Response(TQCString("realm=\"elwood.innosoft.com\",nonce=\"OA6MG9tEQGm2hh\",qop=\"auth\",algorithm=md5-sess,charset=utf-8"));
return TQByteArray();