Challenge could fail even if status is VALID. Fixes issue #19.

pull/30/head
Richard Körber 2016-07-27 22:27:46 +02:00
parent 22610b7a03
commit 5879bb698f
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ public class ClientTest {
}
challenge.update();
}
if (attempts == 0) {
if (challenge.getStatus() != Status.VALID) {
LOG.error("Failed to pass the challenge... Giving up.");
return;
}