Ben Wiederhake
3fc2c4866f
LibC: Stub and test strlcpy
2020-08-24 00:45:03 +02:00
Ben Wiederhake
417ca7594b
Tests: Remove unused include
2020-08-24 00:45:03 +02:00
Ben Wiederhake
499e953380
LibC: Demonstrate off-by-one in current snprintf
...
The function whose main selling point is that there always is a
NUL-terminator ... missed the NUL-terminator.
2020-08-22 20:55:10 +02:00
Ben Wiederhake
76da9a4a7d
Test: Mark compilation-unit-only functions as static
...
This enables a nice warning in case a function becomes dead code. Also,
in the case of test-crypto.cpp, I took the liberty to add the prefix 'g_'
to the global event loop.
2020-08-12 20:40:59 +02:00
Ben Wiederhake
58240aedd9
Tests: License headers, clang-format, clearer output
2020-08-02 17:15:36 +02:00
Ben Wiederhake
29eceebdbf
Tests: Build automatically, fix compilation errors
2020-08-02 17:15:36 +02:00