fix spelling

This commit is contained in:
crapStone 2024-04-30 23:30:59 +02:00
parent 73e33e1452
commit 8cf3485583
No known key found for this signature in database
GPG Key ID: 22D4BF0CF7CC29C8

View File

@ -408,7 +408,7 @@ func MaintainCertDB(ctx context.Context, interval time.Duration, acmeClient *Acm
// leaf returns the parsed leaf certificate, either from c.Leaf or by parsing
// the corresponding c.Certificate[0].
// After successfuly parsing the cert c.Leaf gets set to the parsed cert.
// After successfully parsing the cert c.Leaf gets set to the parsed cert.
func leaf(c *tls.Certificate) (*x509.Certificate, error) {
if c.Leaf != nil {
return c.Leaf, nil