forked from quic-go/quic-go
use a uint8 for the EncryptionLevel
This commit is contained in:
@@ -2,7 +2,7 @@ package protocol
|
|||||||
|
|
||||||
// EncryptionLevel is the encryption level
|
// EncryptionLevel is the encryption level
|
||||||
// Default value is Unencrypted
|
// Default value is Unencrypted
|
||||||
type EncryptionLevel int
|
type EncryptionLevel uint8
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// EncryptionUnspecified is a not specified encryption level
|
// EncryptionUnspecified is a not specified encryption level
|
||||||
|
|||||||
Reference in New Issue
Block a user