mirror of https://github.com/shred/acme4j
Challenge could fail even if status is VALID. Fixes issue #19.
parent
22610b7a03
commit
5879bb698f
|
@ -146,7 +146,7 @@ public class ClientTest {
|
||||||
}
|
}
|
||||||
challenge.update();
|
challenge.update();
|
||||||
}
|
}
|
||||||
if (attempts == 0) {
|
if (challenge.getStatus() != Status.VALID) {
|
||||||
LOG.error("Failed to pass the challenge... Giving up.");
|
LOG.error("Failed to pass the challenge... Giving up.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue