diff options
author | Bodo Möller <bodo@openssl.org> | 2002-05-14 19:40:58 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2002-05-14 19:40:58 +0000 |
commit | 60e5f36d277b5b03d93e56f9893dd7ef6d3f75f0 (patch) | |
tree | 4b906ddeb9312f44fe414345ed550cbd466778b3 /crypto/bio/b_print.c | |
parent | 2469361c0ff9e29daac521d061361b1a579edfaf (diff) | |
download | openssl-60e5f36d277b5b03d93e56f9893dd7ef6d3f75f0.tar.gz |
make b_print.c consistent with the rest of OpenSSL:
disable assert() except for debug builds
Diffstat (limited to 'crypto/bio/b_print.c')
-rw-r--r-- | crypto/bio/b_print.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crypto/bio/b_print.c b/crypto/bio/b_print.c index 7c3c9bdf69..3ce1290772 100644 --- a/crypto/bio/b_print.c +++ b/crypto/bio/b_print.c @@ -56,6 +56,13 @@ * [including the GNU Public Licence.] */ +/* disable assert() unless BIO_DEBUG has been defined */ +#ifndef BIO_DEBUG +# ifndef NDEBUG +# define NDEBUG +# endif +#endif + /* * Stolen from tjh's ssl/ssl_trc.c stuff. */ |