Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestBadNamesInSANs (0.18 sec)

  1. src/crypto/x509/name_constraints_test.go

    			continue
    		} else {
    			if !test.matcher(err) {
    				t.Errorf("bad name %q triggered unrecognised error: %s", test.name, err)
    			}
    		}
    	}
    }
    
    func TestBadNamesInSANs(t *testing.T) {
    	// Bad names in URI and IP SANs should not parse. Bad DNS and email SANs
    	// will parse and are tested in name constraint tests at the top of this
    	// file.
    	badNames := []string{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 22:40:21 UTC 2024
    - 45.2K bytes
    - Viewed (0)
Back to top