Changeset 769 for trunk/src/network/ssl
- Timestamp:
- Aug 2, 2010, 9:27:30 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.3 (added) merged: 768 /branches/vendor/nokia/qt/current merged: 767 /branches/vendor/nokia/qt/4.6.2 removed
- Property svn:mergeinfo changed
-
trunk/src/network/ssl/qsslcertificate.cpp
r651 r769 635 635 for (int i = 0; i <= array.size() - 64; i += 64) { 636 636 tmp += QByteArray::fromRawData(array.data() + i, 64); 637 tmp += "\n";637 tmp += '\n'; 638 638 } 639 639 if (int remainder = array.size() % 64) { 640 640 tmp += QByteArray::fromRawData(array.data() + array.size() - remainder, remainder); 641 tmp += "\n";641 tmp += '\n'; 642 642 } 643 643 -
trunk/src/network/ssl/qsslkey.cpp
r651 r769 120 120 return; 121 121 122 void *phrase = passPhrase.isEmpty() 123 ? (void *)0 124 : (void *)passPhrase.constData(); 122 void *phrase = (void *)passPhrase.constData(); 125 123 126 124 if (algorithm == QSsl::Rsa) { -
trunk/src/network/ssl/qsslsocket.cpp
r651 r769 157 157 will get emitted as soon as data has been written to the TCP socket. 158 158 159 \section1 Symbian Platform Security Requirements 160 161 On Symbian, processes which use this class must have the 162 \c NetworkServices platform security capability. If the client 163 process lacks this capability, operations will fail. 164 165 Platform security capabilities are added via the 166 \l{qmake-variable-reference.html#target-capability}{TARGET.CAPABILITY} 167 qmake variable. 168 159 169 \sa QSslCertificate, QSslCipher, QSslError 160 170 */ … … 1110 1120 Q_D(QSslSocket); 1111 1121 d->configuration.ciphers.clear(); 1112 foreach ( QStringcipherName, ciphers.split(QLatin1String(":"),QString::SkipEmptyParts)) {1122 foreach (const QString &cipherName, ciphers.split(QLatin1String(":"),QString::SkipEmptyParts)) { 1113 1123 for (int i = 0; i < 3; ++i) { 1114 1124 // ### Crude -
trunk/src/network/ssl/qsslsocket_openssl.cpp
r651 r769 819 819 if (!regexp.exactMatch(peerName)) { 820 820 bool matched = false; 821 foreach ( QStringaltName, configuration.peerCertificate821 foreach (const QString &altName, configuration.peerCertificate 822 822 .alternateSubjectNames().values(QSsl::DnsEntry)) { 823 823 regexp.setPattern(altName); -
trunk/src/network/ssl/qsslsocket_openssl_symbols.cpp
r651 r769 743 743 bool q_resolveOpenSslSymbols() 744 744 { 745 #ifdef QT_NO_ SSL745 #ifdef QT_NO_OPENSSL 746 746 return false; 747 747 #endif
Note:
See TracChangeset
for help on using the changeset viewer.