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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Sep 23 21:20:15 CEST 2008


Author: jan
Date: 2008-09-23 21:20:15 +0200 (Tue, 23 Sep 2008)
New Revision: 1411

Modified:
   trunk/openvas-libraries/ChangeLog
   trunk/openvas-libraries/libopenvas/ntp.h
Log:
* libopenvas/ntp.h: Removed elements "md5_caching",
"ntp_11", "plugins_oid", and "plugins_version" from
struct ntp_caps.



Modified: trunk/openvas-libraries/ChangeLog
===================================================================
--- trunk/openvas-libraries/ChangeLog	2008-09-23 19:04:00 UTC (rev 1410)
+++ trunk/openvas-libraries/ChangeLog	2008-09-23 19:20:15 UTC (rev 1411)
@@ -1,5 +1,11 @@
 2008-09-23  Jan-Oliver Wagner <jan-oliver.wagner at intevation.de>
 
+	* libopenvas/ntp.h: Removed elements "md5_caching",
+	"ntp_11", "plugins_oid", and "plugins_version" from
+	struct ntp_caps.
+
+2008-09-23  Jan-Oliver Wagner <jan-oliver.wagner at intevation.de>
+
 	* libopenvas/scanners_utils.c(comm_send_status): Removed
 	conditional for ntp_11, because this is standard for otp.
 

Modified: trunk/openvas-libraries/libopenvas/ntp.h
===================================================================
--- trunk/openvas-libraries/libopenvas/ntp.h	2008-09-23 19:04:00 UTC (rev 1410)
+++ trunk/openvas-libraries/libopenvas/ntp.h	2008-09-23 19:20:15 UTC (rev 1411)
@@ -28,27 +28,12 @@
 
 #define OTP_10 100  /* OTP/1.0 */
 
-/* Those marked a "deprecated" can be removed, once openvas-libraries
- * is branched for 1.1  */
 typedef struct {
   int ntp_version; /*  NTP_VERSION, as defined in ntp.h */
-  int ntp_11:1;    /*  TRUE, if we may use NTP 1.1 features; should
-                       better be splitted into different capability
-                       attributes, but this one simplifies the step
-                       from NTP 1.1 to NTP 1.2. In the future we'll
-                       use caps, I promise! :-) */
   int scan_ids:1;  /*  TRUE, if HOLE and INFO messages should
                        contain scan ID's. */
   int pubkey_auth:1; /* TRUE if the client wants to use public key
                         authentification */
-
-  int md5_caching:1; /* TRUE if the client does not want us to send the
-                        list of plugins directly, but just the md5 
-                        hash instead */
-
-  int plugins_version:1; /* TRUE if the client wants us to send the versions
-                            of our plugins */
-  int plugins_oid:1; /* the OID of the plugins along with their version */
   int dns:1; /* send the host name and host ip */
 } ntp_caps;
 



More information about the Openvas-commits mailing list