diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-08-24 09:23:21 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-08-24 09:25:17 (GMT) |
commit | 8260b28cbbc1103a20e9f920fad099922021e9c7 (patch) | |
tree | 9a5554d486c7fad5dea6b95d9c1d6364833b83b9 /src/network | |
parent | 6bc7af414219e92ccec45ec45d47e6fe432ad048 (diff) | |
download | Qt-8260b28cbbc1103a20e9f920fad099922021e9c7.zip Qt-8260b28cbbc1103a20e9f920fad099922021e9c7.tar.gz Qt-8260b28cbbc1103a20e9f920fad099922021e9c7.tar.bz2 |
Fix the last fix to QList.
Reviewed-by: TrustMe
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/ssl/qsslcertificate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/ssl/qsslcertificate.cpp b/src/network/ssl/qsslcertificate.cpp index a09b8c43..8d855b1 100644 --- a/src/network/ssl/qsslcertificate.cpp +++ b/src/network/ssl/qsslcertificate.cpp @@ -381,7 +381,7 @@ QMultiMap<QSsl::AlternateNameEntryType, QString> QSslCertificate::alternateSubje } const char *altNameStr = reinterpret_cast<const char *>(q_ASN1_STRING_data(genName->d.ia5)); - const QString altName = QLatin1String(QByteArray(altNameStr, len)); + const QString altName = QString::fromLatin1(altNameStr, len); if (genName->type == GEN_DNS) result.insert(QSsl::DnsEntry, altName); else if (genName->type == GEN_EMAIL) |