pull/315/head
crapStone 2024-04-30 23:30:59 +02:00 zatwierdzone przez crapStone
rodzic 5954ca83c5
commit 3a1ba2d5ac
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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