Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestRejectEmptySCTList (0.38 sec)

  1. src/crypto/tls/handshake_messages_test.go

    			m.certificate.SignedCertificateTimestamps = append(
    				m.certificate.SignedCertificateTimestamps, randomBytes(rand.Intn(500)+1, rand))
    		}
    	}
    	return reflect.ValueOf(m)
    }
    
    func TestRejectEmptySCTList(t *testing.T) {
    	// RFC 6962, Section 3.3.1 specifies that empty SCT lists are invalid.
    
    	var random [32]byte
    	sct := []byte{0x42, 0x42, 0x42, 0x42}
    	serverHello := &serverHelloMsg{
    		vers:   VersionTLS12,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 15.7K bytes
    - Viewed (0)
Back to top