mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #13821 from pokgak/pr/fix_dups_sock_dtls
tinydtls_sock_dtls: remove duplicate dtls_handle_message
This commit is contained in:
commit
5fe7831152
@ -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…
Reference in New Issue
Block a user