Remove code that replaces account key kid with external account binding

kid after the external account binding process is done.

Relevant discussion on IETF ACME mailing list: https://mailarchive.ietf.org/arch/search/?email_list=acme&gbt=1&index=_j_xfYp9rlLeAtOWtSuQ-UtX3k0
pull/55/head
Robert Kästel 2018-01-16 11:24:03 +01:00
parent f37b14b55c
commit f42e783760
2 changed files with 0 additions and 4 deletions

View File

@ -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());

View File

@ -179,7 +179,6 @@ public class AccountBuilderTest {
Account account = builder.create(session);
assertThat(account.getLocation(), is(locationUrl));
assertThat(session.getKeyIdentifier(), is(keyIdentifier));
provider.close();
}