From dc3d5618fc712515cde68e245f255a1ba57c9895 Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Mon, 7 Sep 2020 14:36:18 +0700 Subject: [PATCH] use a uint8 for the EncryptionLevel --- internal/protocol/encryption_level.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/protocol/encryption_level.go b/internal/protocol/encryption_level.go index 6c9b08072..be5de8f7d 100644 --- a/internal/protocol/encryption_level.go +++ b/internal/protocol/encryption_level.go @@ -2,7 +2,7 @@ package protocol // EncryptionLevel is the encryption level // Default value is Unencrypted -type EncryptionLevel int +type EncryptionLevel uint8 const ( // EncryptionUnspecified is a not specified encryption level