diff options
author | tb <> | 2021-12-24 02:02:37 +0000 |
---|---|---|
committer | tb <> | 2021-12-24 02:02:37 +0000 |
commit | 2a6ad3d378214786ed277d168beba46710d74207 (patch) | |
tree | 7f0b1ddac23fd280bfd1d94d754267f5d34c7852 /src/lib/libc/stdlib/recallocarray.c | |
parent | 41baa1b274bc3870ce7bbce17b23f6e0820a1a93 (diff) | |
download | openbsd-2a6ad3d378214786ed277d168beba46710d74207.tar.gz openbsd-2a6ad3d378214786ed277d168beba46710d74207.tar.bz2 openbsd-2a6ad3d378214786ed277d168beba46710d74207.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/stdlib/recallocarray.c')
0 files changed, 0 insertions, 0 deletions