diff options
author | Bodo Möller <bodo@openssl.org> | 1999-07-05 10:18:51 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 1999-07-05 10:18:51 +0000 |
commit | e334d78b87517652cc34825aff7b6fc7be9a1e83 (patch) | |
tree | c12dfed97908c779c9e464ce43b08628033f66e4 | |
parent | b2f82c3fe33f7f35289c4ff697dc63d8f4fbed9b (diff) |
Disable asserts for standard configurations.
-rwxr-xr-x | Configure | 2 | ||||
-rw-r--r-- | TABLE | 2 | ||||
-rw-r--r-- | crypto/bio/bss_bio.c | 4 |
3 files changed, 6 insertions, 2 deletions
@@ -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 @@ -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> |