fixed digest-md5

This commit is contained in:
iNPUTmice 2014-12-04 12:33:56 +01:00
parent 873702946a
commit 9c9e22c020

View file

@ -79,6 +79,10 @@ public class DigestMd5 extends SaslMechanism {
case RESPONSE_SENT:
state = State.VALID_SERVER_RESPONSE;
break;
case VALID_SERVER_RESPONSE:
if (challenge==null) {
return null; //everything is fine
}
default:
throw new InvalidStateException(state);
}