diff options
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; }; |