Changeset 865 for trunk/src/network
- Timestamp:
- May 16, 2011, 4:09:34 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.3 (added) merged: 864 /branches/vendor/nokia/qt/current merged: 863 /branches/vendor/nokia/qt/4.7.2 removed
- Property svn:mergeinfo changed
-
trunk/src/network/bearer/qnetworksession.h
r846 r865 142 142 #ifndef QT_MOBILITY_BEARER 143 143 QT_END_NAMESPACE 144 145 144 146 #else 145 147 QTM_END_NAMESPACE 146 148 #endif 147 148 Q_DECLARE_METATYPE(QNetworkSession::State)149 Q_DECLARE_METATYPE(QNetworkSession::SessionError)150 149 151 150 QT_END_HEADER -
trunk/src/network/ssl/qsslcertificate.cpp
r846 r865 220 220 false. 221 221 222 Note: Currently, this function onlychecks that the current222 Note: Currently, this function checks that the current 223 223 data-time is within the date-time range during which the 224 certificate is considered valid . No other checks are225 c urrently performed.224 certificate is considered valide 225 c. 226 226 227 227 \sa isNull() … … 230 230 { 231 231 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); 233 235 } 234 236 … … 799 801 } 800 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 801 827 #ifndef QT_NO_DEBUG_STREAM 802 828 QDebug operator<<(QDebug debug, const QSslCertificate &certificate) -
trunk/src/network/ssl/qsslcertificate_p.h
r846 r865 97 97 static QList<QSslCertificate> certificatesFromPem(const QByteArray &pem, int count = -1); 98 98 static QList<QSslCertificate> certificatesFromDer(const QByteArray &der, int count = -1); 99 99 100 100 101 friend class QSslSocketBackendPrivate; -
trunk/src/network/ssl/qsslsocket_openssl.cpp
r846 r865 1184 1184 configuration.peerCertificate = QSslCertificatePrivate::QSslCertificate_from_X509(x509); 1185 1185 q_X509_free(x509); 1186 1187 1188 1189 1190 1191 1192 1186 1193 1187 1194 // Start translating errors.
Note:
See TracChangeset
for help on using the changeset viewer.