[Openvas-commits] r5552 - in trunk/openvas-client: . openvas

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Oct 15 12:29:46 CEST 2009


Author: felix
Date: 2009-10-15 12:29:44 +0200 (Thu, 15 Oct 2009)
New Revision: 5552

Modified:
   trunk/openvas-client/ChangeLog
   trunk/openvas-client/openvas/context.c
Log:
* openvas/context.c (context_collect_servers) [DISABLE_OTP]: Fix bug
of missing (not loaded) lsc credentials manager data.


Modified: trunk/openvas-client/ChangeLog
===================================================================
--- trunk/openvas-client/ChangeLog	2009-10-15 10:00:09 UTC (rev 5551)
+++ trunk/openvas-client/ChangeLog	2009-10-15 10:29:44 UTC (rev 5552)
@@ -1,3 +1,8 @@
+2009-10-15  Felix Wolfsteller <felix.wolfsteller at intevation.de>
+
+	* openvas/context.c (context_collect_servers) [DISABLE_OTP]: Fix bug
+	of missing (not loaded) lsc credentials manager data.
+
 2009-10-15  Matthew Mundell <matthew.mundell at intevation.de>
 
 	* openvas/prefs_dialog/prefs_scope_tree.c (scopetree_refresh)

Modified: trunk/openvas-client/openvas/context.c
===================================================================
--- trunk/openvas-client/openvas/context.c	2009-10-15 10:00:09 UTC (rev 5551)
+++ trunk/openvas-client/openvas/context.c	2009-10-15 10:29:44 UTC (rev 5552)
@@ -541,6 +541,12 @@
   strcpy (sdir, dir);
   strcat (sdir, "/.Servers");
 
+#ifdef DISABLE_OTP
+  gchar* sshkeypath = g_build_filename (dir, ".ssh", NULL);
+  context_pickup_sshkeys (Global, sshkeypath);
+  g_free (sshkeypath);
+#endif
+
   context_collect_recurse (context, sdir);
   efree (&context->dir);
   context->dir = sdir;



More information about the Openvas-commits mailing list