summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/wcslen.c
diff options
context:
space:
mode:
authortb <>2021-12-24 02:02:37 +0000
committertb <>2021-12-24 02:02:37 +0000
commitd021ade138f9e3eef719d3565e37010e7b4aeb59 (patch)
tree7f0b1ddac23fd280bfd1d94d754267f5d34c7852 /src/lib/libc/string/wcslen.c
parent7f089a3cf0edad1314f41c4b9f586b2a6e53a1a2 (diff)
downloadopenbsd-d021ade138f9e3eef719d3565e37010e7b4aeb59.tar.gz
openbsd-d021ade138f9e3eef719d3565e37010e7b4aeb59.tar.bz2
openbsd-d021ade138f9e3eef719d3565e37010e7b4aeb59.zip
Remove asserts from addr_validate_path_internal()
This is reachable from x509_verify(), but all asserts are previously checked in the caller. Turn them into error checks and make sure the error is set on the X509_STORE_CTX if present. Change some stack == NULL || sk_num(stack) == 0 checks into sk_num(stack) <= 0 which is equivalent but simpler. ok jsing
Diffstat (limited to 'src/lib/libc/string/wcslen.c')
0 files changed, 0 insertions, 0 deletions