ci: update golangci-lint to v1.52.2, update Go version (#3740)

* ci: update golangci-lint to v1.52.2, update Go version

* run gofumpt
This commit is contained in:
Marten Seemann
2023-03-28 14:55:26 +09:00
committed by GitHub
parent f20b0d3d01
commit 56a6d8d35b
2 changed files with 3 additions and 4 deletions

View File

@@ -408,8 +408,7 @@ readLoop:
func (h *cryptoSetup) checkEncryptionLevel(msgType messageType, encLevel protocol.EncryptionLevel) error {
var expected protocol.EncryptionLevel
switch msgType {
case typeClientHello,
typeServerHello:
case typeClientHello, typeServerHello:
expected = protocol.EncryptionInitial
case typeEncryptedExtensions,
typeCertificate,