qt5base-lts/tests/auto/network/ssl/qsslsocket
Jeremy Lainé 0a1d7f6151 ssl: merge and tighten sslErrors and peerVerifyError tests
The sslErrors and peerVerifyError test the same situation: connect to a
server which is using the fluke certificate, using the incorrect host name.
They connect respectively to qt-test-server:993 and the.server.ip.address:443.

The sslErrors is prone to backend-dependent failures concerning the order
in which SSL errors are received, just like the peerVerifyError test was
until recently.

This change merges these two tests into one, which is run against the same
two servers as previously. It also adds a check to ensure that sslErrors
and peerVerifyError emit the same SSL errors (regardless of order).

This also fixes the included headers for non-OpenSSL backends.

Change-Id: Ibd5f60d24f1682989378e87729389e4b8f9efac5
Reviewed-by: Richard J. Moore <rich@kde.org>
2014-12-09 16:58:08 +01:00
..
certs Move the PKCS#12 support from QSslSocket to QSslCertificate. 2014-05-14 11:08:01 +02:00
.gitignore Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00
qsslsocket.pro QtNetwork tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2014-02-25 16:47:13 +01:00
ssl.tar.gz Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00
tst_qsslsocket.cpp ssl: merge and tighten sslErrors and peerVerifyError tests 2014-12-09 16:58:08 +01:00