QSslCertificate: also check common name for blacklisted certificates
authorPeter Hartmann <peter.hartmann@nokia.com>
Tue, 30 Aug 2011 11:10:06 +0000 (13:10 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 2 Sep 2011 12:14:15 +0000 (14:14 +0200)
commit3840ce839fb339c685371ba834736a87fe097a9b
treea139eadbce6c6b6f4b484fc5968013b89864e75d
parentc0dc40ce06582222c3501b69526df0cc1383f51b
QSslCertificate: also check common name for blacklisted certificates

... to reduce the possibility of blacklisting valid certificates that
happen to have the same serial number as a blacklisted one, which is
unlikely, but possible.

Reviewed-by: Richard J. Moore <rich@kde.org>
(cherry picked from commit 6b1a8129623e3716f2fc075608b260ce7c381fe2
and adapted to the source incompatible change)

Change-Id: If714c34f6ce028032eee6d68f34d088b6ad5a0cc
Reviewed-on: http://codereview.qt.nokia.com/3895
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Peter Hartmann <peter.hartmann@nokia.com>
src/network/ssl/qsslcertificate.cpp