From 9b62e7fb13f90d2d34bf20a3e6028052bd8cef2a Mon Sep 17 00:00:00 2001 From: alexpeshkoff Date: Sun, 23 Apr 2006 13:26:37 +0000 Subject: [PATCH] fixed illegal error reporting - warning about too long password is a victim --- src/utilities/gsec/gsec.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utilities/gsec/gsec.cpp b/src/utilities/gsec/gsec.cpp index 3482bb6770..0fdecc6ba3 100644 --- a/src/utilities/gsec/gsec.cpp +++ b/src/utilities/gsec/gsec.cpp @@ -647,10 +647,10 @@ static bool get_switches( case IN_SW_GSEC_PASSWORD: for (l = 0; l < 9 && string[l] && string[l] != ' '; l++) user_data->password[l] = string[l]; - if (l == 9) { + /* if (l == 9) { GSEC_print(GsecMsg77, NULL, NULL, NULL, NULL, NULL); - /* warning password maximum 8 significant bytes used */ - } + // warning password maximum 8 significant bytes used + } */ user_data->password[l] = '\0'; user_data->password_entered = true; break;