Fix typos in selfsigned.go [skip ci]

This commit is contained in:
Amin Bashiri 2023-01-14 15:54:15 -07:00
parent 143eba82ea
commit 88bccc9836

View file

@ -24,7 +24,7 @@ var (
serialNumberLimit = new(big.Int).Lsh(big.NewInt(1), 128) serialNumberLimit = new(big.Int).Lsh(big.NewInt(1), 128)
) )
// ipAddresses returns the parserd IP addresses to use when creating the TLS // ipAddresses returns the parsed IP addresses to use when creating the TLS
// certificate. If tlsDisableAutofill is true, we don't include interface // certificate. If tlsDisableAutofill is true, we don't include interface
// addresses to protect users privacy. // addresses to protect users privacy.
func ipAddresses(tlsExtraIPs []string, tlsDisableAutofill bool) ([]net.IP, func ipAddresses(tlsExtraIPs []string, tlsDisableAutofill bool) ([]net.IP,
@ -72,7 +72,7 @@ func ipAddresses(tlsExtraIPs []string, tlsDisableAutofill bool) ([]net.IP,
} }
// dnsNames returns the host and DNS names to use when creating the TLS // dnsNames returns the host and DNS names to use when creating the TLS
// ceftificate. // certificate.
func dnsNames(tlsExtraDomains []string, tlsDisableAutofill bool) (string, func dnsNames(tlsExtraDomains []string, tlsDisableAutofill bool) (string,
[]string) { []string) {