Password length
Posted: Wed Mar 16, 2011 4:09 pm
Hi:
I have been using the library and there's a problem in the file src/CS/PDU/Bind.cs
This:
Should be replaced with with:
Because the standard says the maximum length of the password is 9, not 8.
I have been using the library and there's a problem in the file src/CS/PDU/Bind.cs
This:
Code: Select all
if(s.Length > 8)
{
throw new System.ArgumentOutOfRangeException("Password","Length too long");
}
Code: Select all
if(s.Length > 9)
{
throw new System.ArgumentOutOfRangeException("Password","Length too long");
}