Commit Graph

6 Commits

Author SHA1 Message Date
Achim Kraus
5477e6885b dtls_prng_posix.c: fail for posix without HAVE_GETRANDOM nor
HAVE_RANDOM.

Support random().
Add #error with explanation and hint to solve it.

Signed-off-by: Achim Kraus <achim.kraus@cloudcoap.net>
2023-02-25 14:34:25 +01:00
Jon Shallow
0bd943fc3e cmake: Convert files to unix format from dos format
Signed-off-by: Jon Shallow <supjps-libcoap@jpshallow.com>
2022-09-28 15:25:52 +02:00
Achim Kraus
16d3764191 Support zephyr.
Add initial support for zephyr.
Mutex is currently not supported, nor used.

Signed-off-by: Achim Kraus <achim.kraus@cloudcoap.net>
2022-07-08 14:51:05 +02:00
Achim Kraus
2749d5f522 Use EPL-1.0 for recently new files.
Currently tinydtls uses EPL-1.0 and mixing with EPl-2.0 is not
recommended. Therefore adjust the EPL-2.0 of new files to
EPL-1.0.

Signed-off-by: Achim Kraus <achim.kraus@cloudcoap.net>
2022-06-27 11:20:22 +02:00
Achim Kraus
f709162135 cmake: add support for getrandom and libcunit.
Add also license headers and apply minor fixes.
Append version to shared library on install.
Amend README.md with instructions to use cmake.

Signed-off-by: Achim Kraus <achim.kraus@bosch.io>
2022-05-14 17:39:47 +02:00
Jimmy Björklund
94587109d6 Added cmake support
Signed-off-by: Jimmy Björklund <jimmy.bjorklund@hotmail.se>
2022-05-12 13:21:29 +02:00