summaryrefslogtreecommitdiffstats
path: root/src/network/ssl/qdtls.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2018-06-20 10:49:31 +0200
committerTimur Pocheptsov <timur.pocheptsov@qt.io>2018-06-21 15:10:55 +0000
commitd502d883fd104aa7a6b20cd49d1ea4c92715df71 (patch)
tree870a9741cf443c9c9cae0fa9944945cba14896d7 /src/network/ssl/qdtls.h
parentd77d4fc548075120213b8876259f65818cb9561e (diff)
SSL: Add a feature for DTLS
For now the new feature depends on openssl as that is the only supported implementation. Once we get an implementation for SecureTransport, we can change the condition. The feature needs to be public because qdtls.h is a public header. Change-Id: Ie3e4acbeb2888f2fb13453b3ecdc19bacc83f6e6 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/network/ssl/qdtls.h')
-rw-r--r--src/network/ssl/qdtls.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/ssl/qdtls.h b/src/network/ssl/qdtls.h
index 859b8c2baa..34362e6f13 100644
--- a/src/network/ssl/qdtls.h
+++ b/src/network/ssl/qdtls.h
@@ -48,6 +48,8 @@
#include <QtCore/qcryptographichash.h>
#include <QtCore/qobject.h>
+QT_REQUIRE_CONFIG(dtls);
+
QT_BEGIN_NAMESPACE
enum class QDtlsError : unsigned char