- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestMatchHostnames (0.14 sec)
-
src/crypto/x509/x509_test.go
{"2001:4860:4860::8888", "[2001:4860:4860::8888]", false}, {"[2001:4860:4860::8888]", "2001:4860:4860::8888", false}, {"[2001:4860:4860::8888]", "[2001:4860:4860::8888]", false}, } func TestMatchHostnames(t *testing.T) { for i, test := range matchHostnamesTests { c := &Certificate{DNSNames: []string{test.pattern}} r := c.VerifyHostname(test.host) == nil if r != test.ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:00:16 UTC 2024 - 163.4K bytes - Viewed (0)