mirror of https://github.com/shred/acme4j
Key identifier was set on every setLocation, fixed
parent
7d822e106c
commit
b40861c66c
|
@ -59,7 +59,6 @@ public abstract class AcmeResource implements Serializable {
|
|||
*/
|
||||
protected void setLocation(URL location) {
|
||||
this.location = Objects.requireNonNull(location, "location");
|
||||
session.setKeyIdentifier(this.location.toString());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -65,6 +65,7 @@ public class Registration extends AcmeResource {
|
|||
protected Registration(Session session, URL location) {
|
||||
super(session);
|
||||
setLocation(location);
|
||||
session.setKeyIdentifier(location.toString());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue