acme: remove support for pre-RFC 8555 ACME spec

LetsEncrypt removed it anyway.

No API changes. Just a lot of deleted code.

Fixes golang/go#46654

Co-authored-by: Brad Fitzpatrick <bradfitz@golang.org>
Change-Id: I65cd0d33236033682b767403ad92aa572bee4fdd
Reviewed-on: https://go-review.googlesource.com/c/crypto/+/380314
Trust: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Trust: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Ben Burkert
2022-02-09 15:49:31 +00:00
committed by Brad Fitzpatrick
co-authored by Brad Fitzpatrick
parent bba287dce9
commit 65fa2f7aa8
9 changed files with 136 additions and 1174 deletions
+3 -3
View File
@@ -115,8 +115,8 @@ func TestPostWithRetries(t *testing.T) {
if _, err := client.Authorize(context.Background(), "example.com"); err != nil {
t.Errorf("client.Authorize 1: %v", err)
}
if count != 4 {
t.Errorf("total requests count: %d; want 4", count)
if count != 3 {
t.Errorf("total requests count: %d; want 3", count)
}
}
@@ -224,7 +224,7 @@ func TestUserAgent(t *testing.T) {
}
w.WriteHeader(http.StatusOK)
w.Write([]byte(`{}`))
w.Write([]byte(`{"newOrder": "sure"}`))
}))
defer ts.Close()