[Openvas-commits] r7321 - in trunk/openvas-manager: . src

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Apr 16 09:37:41 CEST 2010


Author: felix
Date: 2010-04-16 09:37:00 +0200 (Fri, 16 Apr 2010)
New Revision: 7321

Modified:
   trunk/openvas-manager/ChangeLog
   trunk/openvas-manager/src/openvasmd.c
Log:
* src/openvasmd.c (main): Initialize and tear down authentication
system.


Modified: trunk/openvas-manager/ChangeLog
===================================================================
--- trunk/openvas-manager/ChangeLog	2010-04-16 07:33:27 UTC (rev 7320)
+++ trunk/openvas-manager/ChangeLog	2010-04-16 07:37:00 UTC (rev 7321)
@@ -1,3 +1,8 @@
+2010-04-16  Felix Wolfsteller <felix.wolfsteller at greenbone.net>
+
+	* src/openvasmd.c (main): Initialize and tear down authentication
+	system.
+
 2010-04-15  Stephan Kleine
 
 	* src/CMakeLists.txt, src/tests/CMakeLists.txt: Fix linking issues.

Modified: trunk/openvas-manager/src/openvasmd.c
===================================================================
--- trunk/openvas-manager/src/openvasmd.c	2010-04-16 07:33:27 UTC (rev 7320)
+++ trunk/openvas-manager/src/openvasmd.c	2010-04-16 07:37:00 UTC (rev 7321)
@@ -1223,6 +1223,9 @@
 
   if (pidfile_create ("openvasmd")) exit (EXIT_FAILURE);
 
+  /* Initialize the authentication system. */
+  openvas_auth_init ();
+
   /* Initialise the process for manage_schedule. */
 
   init_manage_process (0, database);
@@ -1280,5 +1283,7 @@
       last_schedule_time = time (NULL);
     }
 
+  openvas_auth_tear_down ();
+
   return EXIT_SUCCESS;
 }



More information about the Openvas-commits mailing list