mirror of https://github.com/qt/qtcoap.git
Initialize QCoapPrivateKey correctly
This fixes the handling of an empty QCoapPrivateKey. Change-Id: I0dd92b2edcb0aacf56a8cb1933227f6673404f52 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
This commit is contained in:
parent
b2ddb9bc50
commit
d1e1548ccf
|
@ -40,8 +40,8 @@ class QCoapPrivateKeyPrivate : public QSharedData
|
|||
{
|
||||
public:
|
||||
QByteArray key;
|
||||
Qt::HANDLE opaqueKey;
|
||||
QSsl::KeyAlgorithm algorithm;
|
||||
Qt::HANDLE opaqueKey = nullptr;
|
||||
QSsl::KeyAlgorithm algorithm = QSsl::Opaque;
|
||||
QSsl::EncodingFormat encodingFormat;
|
||||
QByteArray passPhrase;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue