1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00
openbsd-src/regress
beck f5d1ae505e Make X509_NAME_get_text_by[NID|OBJ] safer.
This is an un-revert with nits of the previously landed change
to do this which broke libtls. libtls has now been changed to
not use this function.

This change ensures that if something is returned it is "text"
(UTF-8) and a C string not containing a NUL byte. Historically
callers to this function assume the result is text and a C string
however the OpenSSL version simply hands them the bytes from an
ASN1_STRING and expects them to know bad things can happen which
they almost universally do not check for. Partly inspired by
goings on in boringssl.

ok jsing@ tb@
2023-05-29 11:54:50 +00:00
..
bin Cope with recent changes to alignment of command column. 2023-03-09 06:22:40 +00:00
etc Bring this regress into nicer shape. Add all recent architectures. 2021-09-27 18:27:14 +00:00
gnu Add subdir gnu/lib to regress. 2022-03-23 22:34:51 +00:00
include
lib Make X509_NAME_get_text_by[NID|OBJ] safer. 2023-05-29 11:54:50 +00:00
libexec Treat symlinks better in $ORIGIN determination in ld.so 2023-04-09 23:41:47 +00:00
misc Print skipped on non applicable architectures. 2022-12-08 12:14:11 +00:00
sbin remove duplicate includes 2023-04-19 12:58:15 +00:00
sys Skip tests if p5-BSD-Socket-Splice is not installed. 2023-05-24 20:31:49 +00:00
usr.bin Add a slow regress target that runs openssl speed with proper alignment 2023-05-20 12:07:21 +00:00
usr.sbin Bye, bye, horrible reacharounds into libcrypto 2023-05-22 15:20:16 +00:00
Makefile Remove all references to "make depend" from regress. 2017-07-07 23:55:21 +00:00