summaryrefslogtreecommitdiffstats
path: root/tests/auto/network/ssl/ssl.pro
diff options
context:
space:
mode:
authorTimur Pocheptsov <timur.pocheptsov@qt.io>2018-04-23 12:03:32 +0200
committerTimur Pocheptsov <timur.pocheptsov@qt.io>2018-06-21 17:01:25 +0000
commit5417949fe271a9b2284f4a7df2c58e51c700fe97 (patch)
tree9f849f9c4fa9d0fea6198987d0e4651fcb30b6cb /tests/auto/network/ssl/ssl.pro
parented775e794c72b237d148fd7d3ea248c803c30075 (diff)
Add tst_QDtls auto-test
The test is somewhat similar to tst_QSslSocket but is smaller (in scope, will grow in future), it has no QTcpSocket/QAbstractSocket-specific things and has more DTLS-specific code. At the moment it does not use our network test server, all work is done in the same process with two QUdpSockets and two QDtls objects. We test (both on client/server ends): - parameters validation (for all functions that do this) and the correctness of error codes/handshake states - handshake procedure (with/out certificates and with pre-shared keys) - timeouts and re-transmissions during (D)TLS handshake - peer verification (and related verification errors) - aborted/resumed handshake - encrypted I/O - DTLS shutdown For now, this test is OpenSSL-only. Task-number: QTBUG-67597 Change-Id: I27006bfe3d6c02b89596889e8482a782c630402a Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'tests/auto/network/ssl/ssl.pro')
-rw-r--r--tests/auto/network/ssl/ssl.pro4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/network/ssl/ssl.pro b/tests/auto/network/ssl/ssl.pro
index 1729f046aa..a2d9159579 100644
--- a/tests/auto/network/ssl/ssl.pro
+++ b/tests/auto/network/ssl/ssl.pro
@@ -15,9 +15,11 @@ qtConfig(ssl) {
qsslsocket \
qsslsocket_onDemandCertificates_member \
qsslsocket_onDemandCertificates_static
+
qtConfig(openssl) {
SUBDIRS += \
- qdtlscookie
+ qdtlscookie \
+ qdtls
}
}
}