Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestPathologicalChain (0.13 sec)

  1. src/crypto/x509/verify_test.go

    	if err != nil {
    		return nil, nil, err
    	}
    	cert, err := ParseCertificate(derBytes)
    	if err != nil {
    		return nil, nil, err
    	}
    
    	return cert, priv, nil
    }
    
    func TestPathologicalChain(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping generation of a long chain of certificates in short mode")
    	}
    
    	// Build a chain where all intermediates share the same subject, to hit the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 110.2K bytes
    - Viewed (0)
Back to top