CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2021/12/23 19:28:52
Modified files:
lib/libcrypto/x509: x509_asid.c
Log message:
Remove asserts from asid_validate_path_internal()
The first asserts ensure that things checked in the callers hold true.
Turn them into error checks and set the error on the X509_STORE_CTX
if it's present. Checking sk_value(..., i) with i < sk_num(...) isn't
useful, particularly if that check is done via an assert. Turn one
remaining assert into a NULL check. Finally, simplify the sk_num()
checks in the callers.
ok jsing