Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestHandshakeServerUnsupportedKeyShare (0.51 sec)

  1. src/crypto/tls/handshake_server_test.go

    				return errors.New("unexpected HelloRetryRequest")
    			}
    			return nil
    		},
    	}
    	runServerTestTLS13(t, test)
    }
    
    // TestHandshakeServerUnsupportedKeyShare tests a client that sends a key share
    // that's not in the supported groups list.
    func TestHandshakeServerUnsupportedKeyShare(t *testing.T) {
    	pk, _ := ecdh.X25519().GenerateKey(rand.Reader)
    	clientHello := &clientHelloMsg{
    		vers:               VersionTLS12,
    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