mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 12:47:36 +03:00
remove unused testutils.CryptoFrameType
This commit is contained in:
parent
04fe1ea7bf
commit
7c8f729771
1 changed files with 0 additions and 3 deletions
|
@ -11,9 +11,6 @@ import (
|
|||
// Utilities for simulating packet injection and man-in-the-middle (MITM) attacker tests.
|
||||
// Do not use for non-testing purposes.
|
||||
|
||||
// CryptoFrameType uses same types as messageType in crypto_setup.go
|
||||
type CryptoFrameType uint8
|
||||
|
||||
// writePacket returns a new raw packet with the specified header and payload
|
||||
func writePacket(hdr *wire.ExtendedHeader, data []byte) []byte {
|
||||
buf := &bytes.Buffer{}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue