[Openvas-commits] r5527 - in trunk/openvas-scanner: . openvassd

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Oct 13 23:42:32 CEST 2009


Author: jan
Date: 2009-10-13 23:42:29 +0200 (Tue, 13 Oct 2009)
New Revision: 5527

Modified:
   trunk/openvas-scanner/ChangeLog
   trunk/openvas-scanner/openvassd/plugs_hash.c
Log:
* openvassd/plugs_hash.c (plugins_send_md5_byid): Renamed to
plugins_send_md5. This removes the unnecessary layer. Now
always send by oid.



Modified: trunk/openvas-scanner/ChangeLog
===================================================================
--- trunk/openvas-scanner/ChangeLog	2009-10-13 21:35:34 UTC (rev 5526)
+++ trunk/openvas-scanner/ChangeLog	2009-10-13 21:42:29 UTC (rev 5527)
@@ -1,5 +1,11 @@
 2009-10-13  Jan-Oliver Wagner <jan-oliver.wagner at greenbone.net>
 
+	* openvassd/plugs_hash.c (plugins_send_md5_byid): Renamed to
+	plugins_send_md5. This removes the unnecessary layer. Now
+	always send by oid.
+
+2009-10-13  Jan-Oliver Wagner <jan-oliver.wagner at greenbone.net>
+
 	* openvassd/plugs_hash.c (plugins_send_md5_byname): Removed. This
 	function is not used anyway. It uses names to identify NVTs which
 	are not required to be unique. Instead, OID is used.

Modified: trunk/openvas-scanner/openvassd/plugs_hash.c
===================================================================
--- trunk/openvas-scanner/openvassd/plugs_hash.c	2009-10-13 21:35:34 UTC (rev 5526)
+++ trunk/openvas-scanner/openvassd/plugs_hash.c	2009-10-13 21:42:29 UTC (rev 5527)
@@ -170,13 +170,11 @@
  return ret;
 }
 
-
-static void plugins_send_md5_byid(globals)
- struct arglist * globals;
+void
+plugins_send_md5 (struct arglist * globals)
 {
  struct arglist * plugins = arg_get_value(globals, "plugins");
 
-
  auth_printf(globals, "SERVER <|> PLUGINS_MD5\n");
  
  if( plugins == NULL )
@@ -194,11 +192,3 @@
  }
  auth_printf(globals, "<|> SERVER\n");
 }
-
-void plugins_send_md5(struct arglist * globals)
-{
-	plugins_send_md5_byid(globals);
-}
-
- 
-



More information about the Openvas-commits mailing list