Changeset 769 for trunk/src/network/ssl


Ignore:
Timestamp:
Aug 2, 2010, 9:27:30 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.3 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/network/ssl/qsslcertificate.cpp

    r651 r769  
    635635    for (int i = 0; i <= array.size() - 64; i += 64) {
    636636        tmp += QByteArray::fromRawData(array.data() + i, 64);
    637         tmp += "\n";
     637        tmp += '\n';
    638638    }
    639639    if (int remainder = array.size() % 64) {
    640640        tmp += QByteArray::fromRawData(array.data() + array.size() - remainder, remainder);
    641         tmp += "\n";
     641        tmp += '\n';
    642642    }
    643643
  • trunk/src/network/ssl/qsslkey.cpp

    r651 r769  
    120120        return;
    121121
    122     void *phrase = passPhrase.isEmpty()
    123         ? (void *)0
    124         : (void *)passPhrase.constData();
     122    void *phrase = (void *)passPhrase.constData();
    125123
    126124    if (algorithm == QSsl::Rsa) {
  • trunk/src/network/ssl/qsslsocket.cpp

    r651 r769  
    157157    will get emitted as soon as data has been written to the TCP socket.
    158158
     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
    159169    \sa QSslCertificate, QSslCipher, QSslError
    160170*/
     
    11101120    Q_D(QSslSocket);
    11111121    d->configuration.ciphers.clear();
    1112     foreach (QString cipherName, ciphers.split(QLatin1String(":"),QString::SkipEmptyParts)) {
     1122    foreach (const QString &cipherName, ciphers.split(QLatin1String(":"),QString::SkipEmptyParts)) {
    11131123        for (int i = 0; i < 3; ++i) {
    11141124            // ### Crude
  • trunk/src/network/ssl/qsslsocket_openssl.cpp

    r651 r769  
    819819            if (!regexp.exactMatch(peerName)) {
    820820                bool matched = false;
    821                 foreach (QString altName, configuration.peerCertificate
     821                foreach (const QString &altName, configuration.peerCertificate
    822822                         .alternateSubjectNames().values(QSsl::DnsEntry)) {
    823823                    regexp.setPattern(altName);
  • trunk/src/network/ssl/qsslsocket_openssl_symbols.cpp

    r651 r769  
    743743bool q_resolveOpenSslSymbols()
    744744{
    745 #ifdef QT_NO_SSL
     745#ifdef QT_NO_OPENSSL
    746746    return false;
    747747#endif
Note: See TracChangeset for help on using the changeset viewer.