summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-07-05 10:18:51 +0000
committerBodo Möller <bodo@openssl.org>1999-07-05 10:18:51 +0000
commite334d78b87517652cc34825aff7b6fc7be9a1e83 (patch)
treec12dfed97908c779c9e464ce43b08628033f66e4
parentb2f82c3fe33f7f35289c4ff697dc63d8f4fbed9b (diff)
Disable asserts for standard configurations.
-rwxr-xr-xConfigure2
-rw-r--r--TABLE2
-rw-r--r--crypto/bio/bss_bio.c4
3 files changed, 6 insertions, 2 deletions
diff --git a/Configure b/Configure
index f529c85081..347292fb64 100755
--- a/Configure
+++ b/Configure
@@ -97,7 +97,7 @@ my %table=(
"debug-ben-debug", "gcc:-DBN_DEBUG -DREF_CHECK -DCRYPTO_MDEBUG -g3 -O2 -pedantic -Wall -Wshadow -Werror -pipe::(unknown):::::",
"debug-ben-strict", "gcc:-DBN_DEBUG -DREF_CHECK -DCRYPTO_MDEBUG -DCONST_STRICT -O2 -Wall -Wshadow -Werror -Wpointer-arith -Wcast-qual -Wwrite-strings -pipe::(unknown):::::",
"debug-rse","cc:-DTERMIOS -DL_ENDIAN -pipe -O -g -ggdb3 -Wall::(unknown)::BN_LLONG $x86_gcc_des $x86_gcc_opts:$x86_elf_asm",
-"debug-bodo", "gcc:-DL_ENDIAN -DREF_CHECK -DCRYPTO_MDEBUG -g -m486 -Wall::-D_REENTRANT::BN_LLONG $x86_gcc_des $x86_gcc_opts:$x86_elf_asm",
+"debug-bodo", "gcc:-DBIO_PAIR_DEBUG -DL_ENDIAN -DREF_CHECK -DCRYPTO_MDEBUG -g -m486 -Wall::-D_REENTRANT::BN_LLONG $x86_gcc_des $x86_gcc_opts:$x86_elf_asm",
"dist", "cc:-O::(unknown):::::",
# Basic configs that should work on any box
diff --git a/TABLE b/TABLE
index 901a0fbb17..183c8ac6ec 100644
--- a/TABLE
+++ b/TABLE
@@ -631,7 +631,7 @@ $rc5_obj =
*** debug-bodo
$cc = gcc
-$cflags = -DL_ENDIAN -DREF_CHECK -DCRYPTO_MDEBUG -g -m486 -Wall
+$cflags = -DBIO_PAIR_DEBUG -DL_ENDIAN -DREF_CHECK -DCRYPTO_MDEBUG -g -m486 -Wall
$unistd =
$thread_cflag = -D_REENTRANT
$lflags =
diff --git a/crypto/bio/bss_bio.c b/crypto/bio/bss_bio.c
index e82b2bc51c..8c989ba6ea 100644
--- a/crypto/bio/bss_bio.c
+++ b/crypto/bio/bss_bio.c
@@ -7,6 +7,10 @@
* for which no specific BIO method is available.
* See ssl/ssltest.c for some hints on how this can be used. */
+#ifndef BIO_PAIR_DEBUG
+# define NDEBUG
+#endif
+
#include <assert.h>
#include <stdlib.h>
#include <string.h>