Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testClientHelloFailure (0.41 sec)

  1. src/crypto/tls/handshake_server_test.go

    func testClientHello(t *testing.T, serverConfig *Config, m handshakeMessage) {
    	testClientHelloFailure(t, serverConfig, m, "")
    }
    
    // testFatal is a hack to prevent the compiler from complaining that there is a
    // call to t.Fatal from a non-test goroutine
    func testFatal(t *testing.T, err error) {
    	t.Helper()
    	t.Fatal(err)
    }
    
    func testClientHelloFailure(t *testing.T, serverConfig *Config, m handshakeMessage, expectedSubStr string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  2. src/crypto/tls/boring_test.go

    				fipstls.Force()
    				defer fipstls.Abandon()
    				msg := ""
    				if !isBoringCipherSuite(id) {
    					msg = "no cipher suite supported by both client and server"
    				}
    				testClientHelloFailure(t, serverConfig, clientHello, msg)
    			})
    		})
    	}
    }
    
    func TestBoringServerCurves(t *testing.T) {
    	serverConfig := testConfig.Clone()
    	serverConfig.Certificates = make([]Certificate, 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top