Changeset 865 for trunk/src/network


Ignore:
Timestamp:
May 16, 2011, 4:09:34 PM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

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

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/network/bearer/qnetworksession.h

    r846 r865  
    142142#ifndef QT_MOBILITY_BEARER
    143143QT_END_NAMESPACE
     144
     145
    144146#else
    145147QTM_END_NAMESPACE
    146148#endif
    147 
    148 Q_DECLARE_METATYPE(QNetworkSession::State)
    149 Q_DECLARE_METATYPE(QNetworkSession::SessionError)
    150149
    151150QT_END_HEADER
  • trunk/src/network/ssl/qsslcertificate.cpp

    r846 r865  
    220220    false.
    221221
    222     Note: Currently, this function only checks that the current
     222    Note: Currently, this function checks that the current
    223223    data-time is within the date-time range during which the
    224     certificate is considered valid. No other checks are
    225     currently performed.
     224    certificate is considered valide
     225    c.
    226226
    227227    \sa isNull()
     
    230230{
    231231    const QDateTime currentTime = QDateTime::currentDateTime();
    232     return currentTime >= d->notValidBefore && currentTime <= d->notValidAfter;
     232    return currentTime >= d->notValidBefore &&
     233            currentTime <= d->notValidAfter &&
     234            ! QSslCertificatePrivate::isBlacklisted(*this);
    233235}
    234236
     
    799801}
    800802
     803
     804
     805
     806
     807
     808
     809
     810
     811
     812
     813
     814
     815
     816
     817
     818
     819
     820
     821
     822
     823
     824
     825
     826
    801827#ifndef QT_NO_DEBUG_STREAM
    802828QDebug operator<<(QDebug debug, const QSslCertificate &certificate)
  • trunk/src/network/ssl/qsslcertificate_p.h

    r846 r865  
    9797    static QList<QSslCertificate> certificatesFromPem(const QByteArray &pem, int count = -1);
    9898    static QList<QSslCertificate> certificatesFromDer(const QByteArray &der, int count = -1);
     99
    99100
    100101    friend class QSslSocketBackendPrivate;
  • trunk/src/network/ssl/qsslsocket_openssl.cpp

    r846 r865  
    11841184    configuration.peerCertificate = QSslCertificatePrivate::QSslCertificate_from_X509(x509);
    11851185    q_X509_free(x509);
     1186
     1187
     1188
     1189
     1190
     1191
     1192
    11861193
    11871194    // Start translating errors.
Note: See TracChangeset for help on using the changeset viewer.