summaryrefslogtreecommitdiffstats
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-08-10 12:31:29 (GMT)
commitb5f95fbf615b113e3e6d2b42f6b84309d6588b1f (patch)
treeb735fb1acf5df209de2528673b677a38859a6c18
parentca9270722b4412d9f70efe1ef4ad51635deca75a (diff)
downloadQt-b5f95fbf615b113e3e6d2b42f6b84309d6588b1f.zip
Qt-b5f95fbf615b113e3e6d2b42f6b84309d6588b1f.tar.gz
Qt-b5f95fbf615b113e3e6d2b42f6b84309d6588b1f.tar.bz2
fix build for -no-qt3support
QString::lower() is QT3_SUPPORT, the correct method is QString::toLower().
-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 6f0ccff..103a7ef 100644
--- a/src/network/ssl/qsslsocket_openssl.cpp
+++ b/src/network/ssl/qsslsocket_openssl.cpp
@@ -827,11 +827,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;
}