From e334d78b87517652cc34825aff7b6fc7be9a1e83 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bodo=20M=C3=B6ller?= Date: Mon, 5 Jul 1999 10:18:51 +0000 Subject: [PATCH] Disable asserts for standard configurations. --- Configure | 2 +- TABLE | 2 +- crypto/bio/bss_bio.c | 4 ++++ 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 #include #include -- 2.34.1