1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

13 Commits

Author SHA1 Message Date
Leandro Lanzieri
6d9a9a35a7
examples/dtls-sock: cleanup credentials 2024-03-19 07:49:56 +01:00
Leandro Lanzieri
f2b6d28551
examples/dtls-sock: add public key verification 2024-03-19 07:49:56 +01:00
Benjamin Valentin
f723f13641 examples/dtls-sock: re-use handshake buffer 2024-01-11 17:43:36 +01:00
Benjamin Valentin
4085b7f8a1 examples/dtls-sock: make use of helper functions 2024-01-11 17:42:45 +01:00
Marian Buschsieweke
ed4b777b29
examples/dtls-sock: fix error handling in client
Not closing a stack allocated socket before going out of scope of the
allocation is something to avoid. This fixes crashes at runtime
when adding the credentials fails.
2023-12-27 21:55:17 +01:00
Frederik Haxel
314dbf15b9 examples: Use size_t print format specifier
Co-authored-by: Marian Buschsieweke <marian.buschsieweke@posteo.net>
2023-12-21 12:02:34 +01:00
Karl Fessel
9a2ccd51f4 examples: add missing includes
thread.h
    gnrc/netif.h
2022-02-28 14:53:08 +01:00
Leandro Lanzieri
cff9a547af
examples/dtls-sock: add multiple credentials 2021-04-01 09:47:39 +02:00
Aiman Ismail
fe5272b885 examples/dtls-sock: use new session init workflow 2020-05-22 14:06:12 +02:00
Aiman Ismail
7f883f4098 sock_dtls: add timeout to sock_dtls_send() 2020-05-18 09:45:14 +02:00
Aiman Ismail
e0a02705b2 examples/dtls-sock: change unsupported %zd to %d 2020-03-09 15:08:52 +01:00
Aiman Ismail
d5b2aa8a2f pkg/tinydtls: Move configurations to 'CONFIG_' namespace
Macros that changed:
DTLS_PSK -> CONFIG_DTLS_PSK
DTLS_ECC -> CONFIG_DTLS_ECC (except in release-notes.txt)
DTLS_CONTEXT_MAX -> CONFIG_DTLS_CONTEXT_MAX
DTLS_PEER_MAX -> CONFIG_DTLS_PEER_MAX
DTLS_HANDSHAKE_MAX -> CONFIG_DTLS_HANDSHAKE_MAX
DTLS_SECURITY_MAX -> CONFIG_DTLS_SECURITY_MAX
DTLS_HASH_MAX -> CONFIG_DTLS_HASH_MAX
2020-03-05 19:11:38 +01:00
pokgak
57533a76fd examples: add DTLS sock example application 2019-12-05 14:08:54 +01:00