[Openvas-commits] r5357 - in trunk/openvas-client: . include src/gui src/util

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Oct 2 13:10:28 CEST 2009


Author: felix
Date: 2009-10-02 13:10:27 +0200 (Fri, 02 Oct 2009)
New Revision: 5357

Modified:
   trunk/openvas-client/ChangeLog
   trunk/openvas-client/include/config.h.in
   trunk/openvas-client/src/gui/nvt_pref_sshlogin.h
   trunk/openvas-client/src/util/openvas_ssh_key_create.c
Log:
* include/config.h.in: Set ENABLE_SAFE_TESTS to 0.

* src/gui/nvt_prefs_sshlogin.h, src/util/openvas_ssh_key_create.c:
Include config.h to include exactly the	same context as in other places.


Modified: trunk/openvas-client/ChangeLog
===================================================================
--- trunk/openvas-client/ChangeLog	2009-10-02 11:02:29 UTC (rev 5356)
+++ trunk/openvas-client/ChangeLog	2009-10-02 11:10:27 UTC (rev 5357)
@@ -1,5 +1,12 @@
 2009-10-02  Felix Wolfsteller <felix.wolfsteller at intevation.de>
 
+	* include/config.h.in: Set ENABLE_SAFE_TESTS to 0.
+
+	* src/gui/nvt_prefs_sshlogin.h, src/util/openvas_ssh_key_create.c:
+	Include config.h to include exactly the	same context as in other places.
+
+2009-10-02  Felix Wolfsteller <felix.wolfsteller at intevation.de>
+
 	* openvas/prefs_dialog/prefs_dialog_auth.c
 	(prefs_dialog_auth_connect_dialog): Initialize variables with NULL.
 

Modified: trunk/openvas-client/include/config.h.in
===================================================================
--- trunk/openvas-client/include/config.h.in	2009-10-02 11:02:29 UTC (rev 5356)
+++ trunk/openvas-client/include/config.h.in	2009-10-02 11:10:27 UTC (rev 5357)
@@ -254,7 +254,7 @@
 /*
  * Experimental features 
  */
-#define ENABLE_SAVE_TESTS 1
+#define ENABLE_SAVE_TESTS 0
 #define ENABLE_SAVE_KB 1
 /* 
  * Local Variables:

Modified: trunk/openvas-client/src/gui/nvt_pref_sshlogin.h
===================================================================
--- trunk/openvas-client/src/gui/nvt_pref_sshlogin.h	2009-10-02 11:02:29 UTC (rev 5356)
+++ trunk/openvas-client/src/gui/nvt_pref_sshlogin.h	2009-10-02 11:10:27 UTC (rev 5357)
@@ -28,6 +28,10 @@
 
 #ifdef USE_GTK
 
+/** @todo Remove dependence of config.h (some defines influence member variables
+ *        of struct context in context.h) */
+#include "config.h" /* to have ENABLE_SAVE_TESTS defined before including the
+                          context */
 #include "context.h"
 
 void nvt_pref_sshlogin_add (GtkWidget* vbox, struct arglist* pref);

Modified: trunk/openvas-client/src/util/openvas_ssh_key_create.c
===================================================================
--- trunk/openvas-client/src/util/openvas_ssh_key_create.c	2009-10-02 11:02:29 UTC (rev 5356)
+++ trunk/openvas-client/src/util/openvas_ssh_key_create.c	2009-10-02 11:10:27 UTC (rev 5357)
@@ -37,6 +37,10 @@
 #include "openvas_i18n.h"
 #include "error_dlg.h"
 
+/** @todo Remove dependence of config.h (some defines influence member variables
+ *        of struct context in context.h) */
+#include "config.h" /* to have ENABLE_SAVE_TESTS defined before including the
+                          context */
 #include "context.h"
 
 



More information about the Openvas-commits mailing list