diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-11-13 14:55:42 -0500 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-11-13 14:55:42 -0500 |
commit | 8d092ef3e8d7c0dd8c4be63391d39dc274ca4abe (patch) | |
tree | b20489a4b07b60d1304d4223bb5d43898602626b | |
parent | 6e830a9d20940d97acdf9d5adbfdb540a8f0e25c (diff) |
fix password length checking
-rw-r--r-- | parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3628,7 +3628,7 @@ static int Go_sys_pwd_92(gchar** response, int channel, char *parameter,int comm old_password = g_strdup (parameter); error_num = OK; - if ((strlen(new_password)< 6) || (strlen(new_password)< 6)) { + if ((strlen(new_password)< 6) || (strlen(new_password)>32)) { error_num = password_change_error; } |