Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestNameConstraints (0.41 sec)

  1. src/crypto/x509/verify_test.go

    	{".example.com", "example.com", false, false},
    	{".example.com", "www.example.com", false, true},
    	{".example.com", "www..example.com", true, false},
    }
    
    func TestNameConstraints(t *testing.T) {
    	for i, test := range nameConstraintTests {
    		result, err := matchDomainConstraint(test.domain, test.constraint)
    
    		if err != nil && !test.expectError {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 110.2K bytes
    - Viewed (0)
Back to top