mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
Use OPENSSL_assert() instead of assert.
This commit is contained in:
parent
54571ba004
commit
ef8e772805
@ -1242,7 +1242,7 @@ static int v3_addr_validate_path_internal(X509_STORE_CTX *ctx,
|
|||||||
/*
|
/*
|
||||||
* Trust anchor can't inherit.
|
* Trust anchor can't inherit.
|
||||||
*/
|
*/
|
||||||
assert(x != NULL);
|
OPENSSL_assert(x != NULL);
|
||||||
if (x->rfc3779_addr != NULL) {
|
if (x->rfc3779_addr != NULL) {
|
||||||
for (j = 0; j < sk_IPAddressFamily_num(x->rfc3779_addr); j++) {
|
for (j = 0; j < sk_IPAddressFamily_num(x->rfc3779_addr); j++) {
|
||||||
IPAddressFamily *fp = sk_IPAddressFamily_value(x->rfc3779_addr, j);
|
IPAddressFamily *fp = sk_IPAddressFamily_value(x->rfc3779_addr, j);
|
||||||
|
Loading…
Reference in New Issue
Block a user