summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorPeter Hartmann <peter.hartmann@nokia.com>2010-07-12 08:47:00 (GMT)
committerPeter Hartmann <peter.hartmann@nokia.com>2010-07-12 08:49:16 (GMT)
commit46175e55c8d053b61a45aea89a3e1b8371207dee (patch)
treed35ef3e18857912ea7f763b33aca5fd727536f47 /src/network
parent4b6180908a52ada73288021c1380f06ae3f75707 (diff)
downloadQt-46175e55c8d053b61a45aea89a3e1b8371207dee.zip
Qt-46175e55c8d053b61a45aea89a3e1b8371207dee.tar.gz
Qt-46175e55c8d053b61a45aea89a3e1b8371207dee.tar.bz2
fix build for -no-qt3support
QString::lower() is QT3_SUPPORT, the correct method is QString::toLower().
Diffstat (limited to 'src/network')
-rw-r--r--src/network/ssl/qsslsocket_openssl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/ssl/qsslsocket_openssl.cpp b/src/network/ssl/qsslsocket_openssl.cpp
index a5da391..8dc1743 100644
--- a/src/network/ssl/qsslsocket_openssl.cpp
+++ b/src/network/ssl/qsslsocket_openssl.cpp
@@ -1106,11 +1106,11 @@ bool QSslSocketBackendPrivate::startHandshake()
QString peerName = (verificationPeerName.isEmpty () ? q->peerName() : verificationPeerName);
QString commonName = configuration.peerCertificate.subjectInfo(QSslCertificate::CommonName);
- if (!isMatchingHostname(commonName.lower(), peerName.lower())) {
+ if (!isMatchingHostname(commonName.toLower(), peerName.toLower())) {
bool matched = false;
foreach (const QString &altName, configuration.peerCertificate
.alternateSubjectNames().values(QSsl::DnsEntry)) {
- if (isMatchingHostname(altName.lower(), peerName.lower())) {
+ if (isMatchingHostname(altName.toLower(), peerName.toLower())) {
matched = true;
break;
}