Browse code

tls: no tls_bio debugging by default

Don't log BIO level debug messages, unless compiled with
-DTLS_BIO_DEBUG.

Andrei Pelinescu-Onciul authored on 16/07/2010 16:50:04
Showing 1 changed files
... ...
@@ -38,8 +38,8 @@
38 38
 #define BIO_TYPE_TLS_MBUF	(BIO_TYPE_SOURCE_SINK | 0xf2)
39 39
 
40 40
 /* debugging */
41
-#ifndef NO_TLS_BIO_DEBUG
42
-#define TLS_BIO_DEBUG
41
+#ifdef NO_TLS_BIO_DEBUG
42
+#undef TLS_BIO_DEBUG
43 43
 #endif
44 44
 #ifdef TLS_BIO_DEBUG
45 45
 	#ifdef __SUNPRO_C