aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppSaslAuth.cpp
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2012-04-20 15:21:56 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2012-04-20 15:21:56 +0000
commit7de79b51bb991b6d237522d3d30c73127dedbfa6 (patch)
tree8f4c38bba237fb02be1f35ad9208fef06d4e38e3 /src/base/QXmppSaslAuth.cpp
parentd648473c16ac3fe5ce4f4b79c188b9bade381425 (diff)
downloadqxmpp-7de79b51bb991b6d237522d3d30c73127dedbfa6.tar.gz
encapsulate QXmppUtils methods in a QXmppUtils class
Diffstat (limited to 'src/base/QXmppSaslAuth.cpp')
-rw-r--r--src/base/QXmppSaslAuth.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/QXmppSaslAuth.cpp b/src/base/QXmppSaslAuth.cpp
index a528cd6d..826ef0ab 100644
--- a/src/base/QXmppSaslAuth.cpp
+++ b/src/base/QXmppSaslAuth.cpp
@@ -96,7 +96,7 @@ void QXmppSaslDigestMd5::setSecret(const QByteArray &secret)
QByteArray QXmppSaslDigestMd5::generateNonce()
{
- QByteArray nonce = generateRandomBytes(32);
+ QByteArray nonce = QXmppUtils::generateRandomBytes(32);
// The random data can the '=' char is not valid as it is a delimiter,
// so to be safe, base64 the nonce