mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-03 04:07:35 +03:00
add the exhaustive linter
This commit is contained in:
parent
2781606ded
commit
55a07c34ee
16 changed files with 25 additions and 0 deletions
|
@ -205,6 +205,7 @@ func toEncryptionLevel(n uint8) protocol.EncryptionLevel {
|
|||
}
|
||||
|
||||
func maxEncLevel(cs handshake.CryptoSetup, encLevel protocol.EncryptionLevel) protocol.EncryptionLevel {
|
||||
//nolint:exhaustive
|
||||
switch encLevel {
|
||||
case protocol.EncryptionInitial:
|
||||
return protocol.EncryptionInitial
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue