diff --git a/authority/authority.go b/authority/authority.go index f2b8b983..3b26dbc5 100644 --- a/authority/authority.go +++ b/authority/authority.go @@ -567,8 +567,8 @@ func (a *Authority) GetAdminDatabase() admin.DB { return a.adminDB } -func (a *Authority) GetAuthorityInfo() *AuthorityInfo { - ai := &AuthorityInfo{ +func (a *Authority) GetInfo() AuthorityInfo { + ai := AuthorityInfo{ StartTime: a.startTime, RootX509Certs: a.rootX509Certs, } diff --git a/ca/ca.go b/ca/ca.go index 0e7f3dbb..bf967aed 100644 --- a/ca/ca.go +++ b/ca/ca.go @@ -299,7 +299,7 @@ func (ca *CA) Run() error { errs := make(chan error, 1) if !ca.opts.quiet { - authorityInfo := ca.auth.GetAuthorityInfo() + authorityInfo := ca.auth.GetInfo() log.Printf("Address: %s", ca.config.Address) for _, crt := range authorityInfo.RootX509Certs { sum := sha256.Sum256(crt.Raw)