[Openvas-commits] r1274 - in trunk/openvas-libraries: . libopenvas

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Sep 2 10:59:29 CEST 2008


Author: mwiegand
Date: 2008-09-02 10:59:28 +0200 (Tue, 02 Sep 2008)
New Revision: 1274

Modified:
   trunk/openvas-libraries/ChangeLog
   trunk/openvas-libraries/libopenvas/network.c
Log:
* libopenvas/network.c (ovas_server_context_attach): Display gnutls
error messages only when DEBUG_SSL is defined.


Modified: trunk/openvas-libraries/ChangeLog
===================================================================
--- trunk/openvas-libraries/ChangeLog	2008-09-02 05:46:01 UTC (rev 1273)
+++ trunk/openvas-libraries/ChangeLog	2008-09-02 08:59:28 UTC (rev 1274)
@@ -1,3 +1,8 @@
+2008-09-02  Michael Wiegand <michael.wiegand at intevation.de>
+
+	* libopenvas/network.c (ovas_server_context_attach): Display gnutls
+	error messages only when DEBUG_SSL is defined.
+
 2008-08-31  Jan-Oliver Wagner <jan-oliver.wagner at intevation.de>
 
 	* libopenvas/network.h: Added an explicit include.

Modified: trunk/openvas-libraries/libopenvas/network.c
===================================================================
--- trunk/openvas-libraries/libopenvas/network.c	2008-09-02 05:46:01 UTC (rev 1273)
+++ trunk/openvas-libraries/libopenvas/network.c	2008-09-02 08:59:28 UTC (rev 1274)
@@ -1254,7 +1254,9 @@
       ret = gnutls_handshake(fp->tls_session);
       if (ret < 0)
 	{
+#ifdef DEBUG_SSL
 	  tlserror("gnutls_handshake", ret);
+#endif
 	  goto fail;
 	}
 



More information about the Openvas-commits mailing list