Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestRejectBadProtocolVersion (0.28 sec)

  1. src/crypto/tls/handshake_server_test.go

    	testClientHelloFailure(t, testConfig, &serverHelloDoneMsg{}, "unexpected handshake message")
    }
    
    var badProtocolVersions = []uint16{0x0000, 0x0005, 0x0100, 0x0105, 0x0200, 0x0205, VersionSSL30}
    
    func TestRejectBadProtocolVersion(t *testing.T) {
    	config := testConfig.Clone()
    	config.MinVersion = VersionSSL30
    	for _, v := range badProtocolVersions {
    		testClientHelloFailure(t, config, &clientHelloMsg{
    			vers:   v,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
Back to top