mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 06:23:53 +01:00
tinydtls_sock_dtls: remove duplicate handle message
This commit is contained in:
parent
82e1a62bf4
commit
bd0228342d
@ -410,10 +410,6 @@ ssize_t sock_dtls_recv(sock_dtls_t *sock, sock_dtls_session_t *remote,
|
||||
timeout = (time_passed > timeout) ? 0: timeout - time_passed;
|
||||
}
|
||||
|
||||
_ep_to_session(&remote->ep, &remote->dtls_session);
|
||||
res = dtls_handle_message(sock->dtls_ctx, &remote->dtls_session,
|
||||
(uint8_t *)data, res);
|
||||
|
||||
if (sock->buf != NULL) {
|
||||
return _copy_buffer(sock, data, max_len);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user