From ff44c83dcc5001ba85c2d4a548e9f06a1ae47f6b Mon Sep 17 00:00:00 2001 From: Mino Date: Wed, 25 Mar 2020 10:44:20 +0900 Subject: [PATCH] Fix typos in Blowfish impl --- Dalamud.Bootstrap/Crypto/Blowfish.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dalamud.Bootstrap/Crypto/Blowfish.cs b/Dalamud.Bootstrap/Crypto/Blowfish.cs index 8ef168203..cca5c1c48 100644 --- a/Dalamud.Bootstrap/Crypto/Blowfish.cs +++ b/Dalamud.Bootstrap/Crypto/Blowfish.cs @@ -442,9 +442,9 @@ namespace Dalamud.Bootstrap.Crypto for (var i = Rounds; i > 0; i -= 2) { xl ^= m_p[i + 1]; - xr ^= Round(xr); + xr ^= Round(xl); xr ^= m_p[i]; - xr ^= Round(xr); + xl ^= Round(xr); } xl ^= m_p[1];