Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestConnectionState (0.22 sec)

  1. src/crypto/tls/tls_test.go

    func TestConnectionStateMarshal(t *testing.T) {
    	cs := &ConnectionState{}
    	_, err := json.Marshal(cs)
    	if err != nil {
    		t.Errorf("json.Marshal failed on ConnectionState: %v", err)
    	}
    }
    
    func TestConnectionState(t *testing.T) {
    	issuer, err := x509.ParseCertificate(testRSACertificateIssuer)
    	if err != nil {
    		panic(err)
    	}
    	rootCAs := x509.NewCertPool()
    	rootCAs.AddCert(issuer)
    
    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