diff options
author | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2018-06-04 16:42:13 +0200 |
---|---|---|
committer | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2018-08-09 03:52:02 +0000 |
commit | 4c089601d7982bb45080d57b3399ed0653f69dd1 (patch) | |
tree | 5b7349c66f514997e03744a500b79ed72d4cf718 /src/network/ssl/qdtls.h | |
parent | 977c8a4d18a1833c90ba1051d022434755216e0c (diff) |
Document the DTLS API
Task-number: QTBUG-68070
Change-Id: Ifd08ecb7c2c1a6dc352952a10ad56259bd1ecf10
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/network/ssl/qdtls.h')
-rw-r--r-- | src/network/ssl/qdtls.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/network/ssl/qdtls.h b/src/network/ssl/qdtls.h index 88c10c8309..9288fd3440 100644 --- a/src/network/ssl/qdtls.h +++ b/src/network/ssl/qdtls.h @@ -79,13 +79,10 @@ public: explicit QDtlsClientVerifier(QObject *parent = nullptr); - struct GeneratorParameters + struct Q_NETWORK_EXPORT GeneratorParameters { - GeneratorParameters() = default; - GeneratorParameters(QCryptographicHash::Algorithm a, const QByteArray &s) - : hash(a), secret(s) - { - } + GeneratorParameters(); + GeneratorParameters(QCryptographicHash::Algorithm a, const QByteArray &s); QCryptographicHash::Algorithm hash = QCryptographicHash::Sha1; QByteArray secret; }; |