Commit 82c4c656 authored by Joonghwan Lee's avatar Joonghwan Lee Committed by Randeep

Fix mutex unlock in case of dtls retransmit fail

Patch 1: Initial upload
Patch 2: Build retrigger

Change-Id: I50bfe828a7522d245b7382f0252e465ca31eaff1
Signed-off-by: default avatarJoonghwan Lee <jh05.lee@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/16339Reviewed-by: default avatarChul Lee <chuls.lee@samsung.com>
Tested-by: default avatarjenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Randeep's avatarRandeep Singh <randeep.s@samsung.com>
(cherry picked from commit eb93a876)
Reviewed-on: https://gerrit.iotivity.org/gerrit/16565Reviewed-by: default avatarDan Mihai <Daniel.Mihai@microsoft.com>
Reviewed-by: default avatarPawel Winogrodzki <pawelwi@microsoft.com>
parent f281a8e1
......@@ -1375,7 +1375,10 @@ static int StartRetransmit()
if (MBEDTLS_ERR_SSL_CONN_EOF != ret)
{
SSL_CHECK_FAIL(tep, ret, "Retransmission", NULL, -1,
//start new timer
registerTimer(RETRANSMISSION_TIME, &g_caSslContext->timerId, (void *) StartRetransmit);
//unlock & return
SSL_CHECK_FAIL(tep, ret, "Retransmission", 1, CA_STATUS_FAILED,
MBEDTLS_SSL_ALERT_MSG_HANDSHAKE_FAILURE);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment