Merge pull request #7321 from bshramin/fix-selfsigned-typos

Fix typos in selfsigned.go
This commit is contained in:
Oliver Gugger authored and GitHub committed 2023-01-16 09:54:08 +01:00
commit 681da4b2b5
1 file changed
+2 -2
+2 -2
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) {