Commit Graph

4 Commits

Author SHA1 Message Date
Achim Kraus
5e37fb8cdf dtls.c: Fix waiting without timeout in DTLS_STATE_CLOSING after Alert.
Sending Alert according RFC6347 without retransmission is not reliable.
Therefore a dummy retransmission entry is used for outgoing Alerts. On
retransmission, the Alert is not retransmitted, instead handle_alert is
called to emulate receiving the response.

Fixes: Issue #95

Signed-off-by: Achim Kraus <achim.kraus@bosch.io>
2022-02-25 15:34:31 +01:00
Raul Fuentes
ec9654c307 netq.[ch]: Support for RIOT OS (and its static memory allocator)
Change-Id: I628f8092e5c18a63340fc113d3548b8e706c7a2d
Signed-off-by: Raul Fuentes <ra.fuentes.sam@gmail.com>
2018-02-16 10:27:27 +01:00
Olaf Bergmann
320c04b96d Fixes for compiler warnings
The code has been cleaned up to
1. provide proper prototypes for functions that take no arguments (void),
2. avoid signedness issues, and
3. provide missing cases for switch statements.

Change-Id: I9e84ddb9ef6594c374ad817330a43b22642ebb33
2017-03-01 13:32:14 +01:00
Olaf Bergmann
e1388b3980 New initial commit 2016-02-02 18:39:21 +01:00