Use OPENSSL_assert() instead of assert.
authorDr. Stephen Henson <steve@openssl.org>
Sun, 15 Mar 2009 14:04:42 +0000 (14:04 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 15 Mar 2009 14:04:42 +0000 (14:04 +0000)
crypto/x509v3/v3_addr.c

index 395eaa2..9087d66 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);