fixed digest-md5
This commit is contained in:
parent
873702946a
commit
9c9e22c020
|
@ -79,6 +79,10 @@ public class DigestMd5 extends SaslMechanism {
|
||||||
case RESPONSE_SENT:
|
case RESPONSE_SENT:
|
||||||
state = State.VALID_SERVER_RESPONSE;
|
state = State.VALID_SERVER_RESPONSE;
|
||||||
break;
|
break;
|
||||||
|
case VALID_SERVER_RESPONSE:
|
||||||
|
if (challenge==null) {
|
||||||
|
return null; //everything is fine
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
throw new InvalidStateException(state);
|
throw new InvalidStateException(state);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue