Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCipherSuites (0.32 sec)

  1. src/crypto/tls/tls_test.go

    			t.Errorf("%d: unexpected success", i)
    		case tt.wantErr != "" && !strings.Contains(err.Error(), tt.wantErr):
    			t.Errorf("%d: got error %q, expected %q", i, err, tt.wantErr)
    		}
    	}
    }
    
    func TestCipherSuites(t *testing.T) {
    	var lastID uint16
    	for _, c := range CipherSuites() {
    		if lastID > c.ID {
    			t.Errorf("CipherSuites are not ordered by ID: got %#04x after %#04x", c.ID, lastID)
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
Back to top