mirror of https://github.com/shred/acme4j
Merge pull request #55 from robaman/master
Remove code that replaces account key kid with external account bindingpull/61/head
commit
8597e84d53
|
@ -182,9 +182,6 @@ public class AccountBuilder {
|
|||
URL location = conn.getLocation();
|
||||
|
||||
Account account = new Account(session, location);
|
||||
if (keyIdentifier != null) {
|
||||
session.setKeyIdentifier(keyIdentifier);
|
||||
}
|
||||
|
||||
if (resp == HttpURLConnection.HTTP_CREATED) {
|
||||
account.setJSON(conn.readJsonResponse());
|
||||
|
|
|
@ -179,7 +179,6 @@ public class AccountBuilderTest {
|
|||
Account account = builder.create(session);
|
||||
|
||||
assertThat(account.getLocation(), is(locationUrl));
|
||||
assertThat(session.getKeyIdentifier(), is(keyIdentifier));
|
||||
|
||||
provider.close();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue