[Openvas-commits] r6156 - in trunk/gsa: . src

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Dec 16 23:05:37 CET 2009


Author: mattm
Date: 2009-12-16 23:05:37 +0100 (Wed, 16 Dec 2009)
New Revision: 6156

Modified:
   trunk/gsa/ChangeLog
   trunk/gsa/src/gsad.c
Log:
	* src/gsad.c (init_validator): Increase credential_login max size to 40.

Modified: trunk/gsa/ChangeLog
===================================================================
--- trunk/gsa/ChangeLog	2009-12-16 21:54:12 UTC (rev 6155)
+++ trunk/gsa/ChangeLog	2009-12-16 22:05:37 UTC (rev 6156)
@@ -1,5 +1,9 @@
 2009-12-16  Matthew Mundell <matthew.mundell at intevation.de>
 
+	* src/gsad.c (init_validator): Increase credential_login max size to 40.
+
+2009-12-16  Matthew Mundell <matthew.mundell at intevation.de>
+
 	* src/html/src/omp.xsl (html-report-details): Align table better.  Move
 	per-host summary into filtered results.  Add a summary of total threat
 	counts.  Rename the "Results per Host" window "Filtered Results".

Modified: trunk/gsa/src/gsad.c
===================================================================
--- trunk/gsa/src/gsad.c	2009-12-16 21:54:12 UTC (rev 6155)
+++ trunk/gsa/src/gsad.c	2009-12-16 22:05:37 UTC (rev 6156)
@@ -194,7 +194,7 @@
   openvas_validator_add (validator, "boolean",    "^0|1$");
   openvas_validator_add (validator, "comment",    "^[-_[:alnum:], \\./]{0,400}$");
   openvas_validator_add (validator, "create_credentials_type", "^(gen|pass)$");
-  openvas_validator_add (validator, "credential_login", "^[[:alnum:]]{1,10}$");
+  openvas_validator_add (validator, "credential_login", "^[[:alnum:]]{1,40}$");
   openvas_validator_add (validator, "family",     "^[-_[:alnum:] :]{1,200}$");
   openvas_validator_add (validator, "first_result", "^[0-9]+$");
   openvas_validator_add (validator, "format",     "^(html)|(nbe)|(pdf)|(xml)$");



More information about the Openvas-commits mailing list