3 ms·
If you're on Linux and compiling libtls from source[0], that repo will build an implementation of it at [1]. If your distro supplies a libbsd, you could also l
by tux1968 8y ago
If you're on Linux and compiling libtls from source[0], that repo will build an implementation of it at [1]. If your distro supplies a libbsd, you could also link to it instead of compiling a strlcpy for yourself.
[0] https://github.com/libressl-portable/portable https://github.com/libressl-portable/portable
[1] libtls-standalone/compat/strlcpy.c
- toctoctoctou 8y agoIt's actually been added into the tutorial - if you pull it's there.