From 3687087c671b88ee74a4a9b4b8ae6cd604aded70 Mon Sep 17 00:00:00 2001 From: Ian Brown Date: Fri, 20 Sep 2024 19:45:46 -0700 Subject: [PATCH] Fix spelling mistake Signed-off-by: Ian Brown --- internal/server/auth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/server/auth.go b/internal/server/auth.go index d6941c2..44dbfe1 100644 --- a/internal/server/auth.go +++ b/internal/server/auth.go @@ -61,7 +61,7 @@ func decryptClientInfo(fragments authFragments, serverTime time.Time) (info Clie var ErrReplay = errors.New("duplicate random") var ErrBadProxyMethod = errors.New("invalid proxy method") -var ErrBadDecryption = errors.New("decryption/authentication faliure") +var ErrBadDecryption = errors.New("decryption/authentication failure") // AuthFirstPacket checks if the first packet of data is ClientHello or HTTP GET, and checks if it was from a Cloak client // if it is from a Cloak client, it returns the ClientInfo with the decrypted fields. It doesn't check if the user