Skip to content

Commit

Permalink
Fix base64 check
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronChen0 authored and madeye committed Apr 28, 2023
1 parent 2ee0a31 commit 0a57b47
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class ProxyInstance(val profile: Profile, private val route: String = profile.ro
"cipher ${profile.method} is deprecated."
}
// check the key format for aead-2022-cipher
if (profile.method !in setOf(
if (profile.method in setOf(
"2022-blake3-aes-128-gcm",
"2022-blake3-aes-256-gcm",
"2022-blake3-chacha20-poly1305",
Expand Down

0 comments on commit 0a57b47

Please sign in to comment.