- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for validHostnameInput (0.24 sec)
-
src/crypto/x509/verify.go
} if len(chains) == 0 && err == nil { err = UnknownAuthorityError{c, hintErr, hintCert} } return } func validHostnamePattern(host string) bool { return validHostname(host, true) } func validHostnameInput(host string) bool { return validHostname(host, false) } // validHostname reports whether host is a valid hostname that can be matched or // matched against according to RFC 6125 2.2, with some leniency to accommodate
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:58:39 UTC 2024 - 35.7K bytes - Viewed (0) -
src/crypto/x509/verify_test.go
if got := validHostnamePattern(tt.host); got != tt.validPattern { t.Errorf("validHostnamePattern(%q) = %v, want %v", tt.host, got, tt.validPattern) } if got := validHostnameInput(tt.host); got != tt.validInput { t.Errorf("validHostnameInput(%q) = %v, want %v", tt.host, got, tt.validInput) } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 110.2K bytes - Viewed (0)