summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/reallocarray.c
diff options
context:
space:
mode:
authorbcook <bcook@openbsd.org>2014-12-07 15:00:32 +0000
committerbcook <bcook@openbsd.org>2014-12-07 15:00:32 +0000
commit31569e865c65f39e40418e8235056535ee32e422 (patch)
tree8fab3a4cf5403dba3935c74f84231df9b9b8c4c7 /lib/libc/stdlib/reallocarray.c
parentHandle GF(2^m) EC curves for C code generation. (diff)
downloadwireguard-openbsd-31569e865c65f39e40418e8235056535ee32e422.tar.xz
wireguard-openbsd-31569e865c65f39e40418e8235056535ee32e422.zip
Allow specific libtls hostname validation errors to propagate.
Remove direct calls to printf from the tls_check_hostname() path. This allows NUL byte error messages to bubble up to the caller, to be logged in a program-appropriate way. It also removes non-portable calls to getprogname(). The semantics of tls_error() are changed slightly: the last error message is not necessarily preserved between subsequent calls into the library. When the previous call to libtls succeeds, client programs should treat the return value of tls_error() as undefined. ok tedu@
Diffstat (limited to 'lib/libc/stdlib/reallocarray.c')
0 files changed, 0 insertions, 0 deletions