Module: sip-router Branch: andrei/tcp_tls_changes Commit: d38a78bfa702927cb298d0c3c033f563c6183879 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d38a78bf...
Author: Andrei Pelinescu-Onciul andrei@iptel.org Committer: Andrei Pelinescu-Onciul andrei@iptel.org Date: Fri Jul 16 18:50:04 2010 +0200
tls: no tls_bio debugging by default
Don't log BIO level debug messages, unless compiled with -DTLS_BIO_DEBUG.
---
modules/tls/tls_bio.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/tls/tls_bio.c b/modules/tls/tls_bio.c index df0a7af..c9b4af0 100644 --- a/modules/tls/tls_bio.c +++ b/modules/tls/tls_bio.c @@ -38,8 +38,8 @@ #define BIO_TYPE_TLS_MBUF (BIO_TYPE_SOURCE_SINK | 0xf2)
/* debugging */ -#ifndef NO_TLS_BIO_DEBUG -#define TLS_BIO_DEBUG +#ifdef NO_TLS_BIO_DEBUG +#undef TLS_BIO_DEBUG #endif #ifdef TLS_BIO_DEBUG #ifdef __SUNPRO_C