1
0
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:
benpicco 2020-04-06 21:38:42 +02:00 committed by GitHub
commit 5fe7831152
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}