diff options
author | Peter Hartmann <peter.hartmann@nokia.com> | 2010-07-12 08:47:00 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2010-07-17 02:20:31 (GMT) |
commit | afe175695d4dfe1f7bd131b651abbf14cc478dc3 (patch) | |
tree | f4f033347e346bdf30b5e76a75a5c035777f0a5e /src | |
parent | 3af27c679941e363c22769dfdccafeaa09d8a6e6 (diff) | |
download | Qt-afe175695d4dfe1f7bd131b651abbf14cc478dc3.zip Qt-afe175695d4dfe1f7bd131b651abbf14cc478dc3.tar.gz Qt-afe175695d4dfe1f7bd131b651abbf14cc478dc3.tar.bz2 |
fix build for -no-qt3support
QString::lower() is QT3_SUPPORT, the correct method is
QString::toLower().
(cherry picked from commit 46175e55c8d053b61a45aea89a3e1b8371207dee)
Diffstat (limited to 'src')
-rw-r--r-- | src/network/ssl/qsslsocket_openssl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/ssl/qsslsocket_openssl.cpp b/src/network/ssl/qsslsocket_openssl.cpp index 46213ff..a7340ea 100644 --- a/src/network/ssl/qsslsocket_openssl.cpp +++ b/src/network/ssl/qsslsocket_openssl.cpp @@ -1112,11 +1112,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; } |