Use OPENSSL_assert() instead of assert.

This commit is contained in:
Dr. Stephen Henson 2009-03-15 14:04:42 +00:00
parent 54571ba004
commit ef8e772805

View File

@ -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);