qt5base-lts/src
Daniel Molkentin 0065b55da4 Ignore expired certificate during certificate validation
OpenSSL has a bug when validating a chain with two certificates.
If a certificate exists twice (which is a valid use case for renewed
CAs), and the first one it hits is expired (which depends on the order
on data structure internal to OpenSSL), it will fail to validate the
chain.

This is only a bandaid fix, which trades improved chain validation
for error reporting accuracy. However given that reissuing of CA certs
is a real problem that is only getting worse, this fix is needed.

See also: https://www.openssl.org/docs/ssl/SSL_CTX_load_verify_locations.html#WARNINGS

[ChangeLog][QtNetwork][QSslSocket] Added a workaround to an OpenSSL problem
that may cause errors when the trust store contains two certificates of the
issuing CA, one of which is expired.

Task-number: QTBUG-38896
Change-Id: I8f17972ac94555648098624e470fff0eff2e7940
Reviewed-by: Richard J. Moore <rich@kde.org>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
2014-05-11 11:34:21 +02:00
..
3rdparty Fix font fallback handling with Harfbuzz and CoreText 2014-04-28 19:49:56 +02:00
android Android: Don't accept the volume-key events. 2014-04-03 00:28:22 +02:00
angle centralize auxiliary lib creation 2014-04-28 19:49:44 +02:00
concurrent Doc: Add docs for QtConcurrent::{Unhandled,Exception} 2014-03-17 20:52:42 +01:00
corelib Add a comment about not obvious code in VariantData. 2014-05-02 07:18:19 +02:00
dbus Fix some documentation errors. 2014-03-24 16:42:02 +01:00
gui Revision new signal 2014-05-02 07:17:18 +02:00
network Ignore expired certificate during certificate validation 2014-05-11 11:34:21 +02:00
opengl Rename new QOpenGLContext APIs 2014-04-25 10:07:45 +02:00
openglextensions purge vestiges of opengl es 1 support 2014-04-04 19:32:21 +02:00
platformsupport Avoid using repeat on widget textures in eglfs 2014-05-09 17:25:33 +02:00
plugins Use XI2 event detail to determine changed mouse button 2014-05-05 11:30:34 +02:00
printsupport QPrintEngine - Fix alpha engine state sync 2014-04-25 06:43:42 +02:00
sql [QtSql][QSqlTableModel] fix failure to refresh in selectRow() 2014-04-27 20:39:11 +02:00
testlib Fix identical sub-expressions in comparison 2014-04-26 09:10:03 +02:00
tools Update copyright year in tools output 2014-03-31 12:46:44 +02:00
widgets Fix crash on startup when running screenreader 2014-05-09 17:25:19 +02:00
winmain WinRT winmain: Pass ImagePath as part of ImageParams in Xap packages 2014-04-01 12:28:10 +02:00
xml Doc: Fix typos 2014-03-27 15:36:58 +01:00
src.pro purge vestiges of opengl es 1 support 2014-04-04 19:32:21 +02:00