mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-24 13:56:57 +00:00
fix spelling
This commit is contained in:
parent
5954ca83c5
commit
3a1ba2d5ac
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue