diff --git a/api/api_test.go b/api/api_test.go index 39c77de7..06b165bf 100644 --- a/api/api_test.go +++ b/api/api_test.go @@ -201,6 +201,10 @@ type mockAuthority struct { version func() authority.Version } +func (m *mockAuthority) GetCertificateRevocationList() ([]byte, error) { + panic("implement me") +} + // TODO: remove once Authorize is deprecated. func (m *mockAuthority) Authorize(ctx context.Context, ott string) ([]provisioner.SignOption, error) { return m.AuthorizeSign(ott) diff --git a/authority/tls.go b/authority/tls.go index 549f0c07..50dc5642 100644 --- a/authority/tls.go +++ b/authority/tls.go @@ -11,8 +11,8 @@ import ( "encoding/json" "encoding/pem" "fmt" - "net" "math/big" + "net" "net/http" "strings" "time"