Use OPENSSL_assert() instead of assert.
[openssl.git] / crypto / x509v3 / v3_addr.c
index 395eaa2ab2e1a4f0ab2778a9b7cf6923017f44cb..9087d66e0ad3c0a0cc8e38395bdbf7cee6ecbcfa 100644 (file)
@@ -1242,7 +1242,7 @@ static int v3_addr_validate_path_internal(X509_STORE_CTX *ctx,
   /*
    * Trust anchor can't inherit.
    */
-  assert(x != NULL);
+  OPENSSL_assert(x != NULL);
   if (x->rfc3779_addr != NULL) {
     for (j = 0; j < sk_IPAddressFamily_num(x->rfc3779_addr); j++) {
       IPAddressFamily *fp = sk_IPAddressFamily_value(x->rfc3779_addr, j);