mirror of
https://github.com/espressif/openthread.git
synced 2026-08-04 18:07:47 +00:00
Initialize mReceiveMessage when starting a new DTLS session. (#656)
This commit is contained in:
@@ -66,6 +66,7 @@ ThreadError Dtls::Start(bool aClient, ReceiveHandler aReceiveHandler, SendHandle
|
||||
mSendHandler = aSendHandler;
|
||||
mContext = aContext;
|
||||
mClient = aClient;
|
||||
mReceiveMessage = NULL;
|
||||
|
||||
mbedtls_ssl_init(&mSsl);
|
||||
mbedtls_ssl_config_init(&mConf);
|
||||
|
||||
Reference in New Issue
Block a user