Skip to content

Commit

Permalink
Trying a hunch, does it need to be a pointer receiver?
Browse files Browse the repository at this point in the history
  • Loading branch information
francislavoie committed Apr 7, 2022
1 parent b459eac commit daf715c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/caddypki/ca.go
Expand Up @@ -182,7 +182,7 @@ func (ca CA) IntermediateKey() interface{} {
}

// NewAuthority returns a new Smallstep-powered signing authority for this CA.
func (ca CA) NewAuthority(authorityConfig AuthorityConfig) (*authority.Authority, error) {
func (ca *CA) NewAuthority(authorityConfig AuthorityConfig) (*authority.Authority, error) {
// get the root certificate and the issuer cert+key
rootCert := ca.RootCertificate()

Expand Down

0 comments on commit daf715c

Please sign in to comment.