Skip to content

Commit f2d2f88

Browse files
committed
fix version select
1 parent c923e82 commit f2d2f88

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

SPHDecode/Implementations/Cryptography.cs

+3-1
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,15 @@ public static byte[] Decrypt(byte[] clearText)
2323
byte[] data;
2424
try {
2525
data = AESHelper(V3KEY, V3IV, clearText, true);
26+
response = Zlib.DecompressData(data);
2627
}
2728
catch (Exception)
2829
{
2930
data = AESHelper(V2KEY, V2IV, clearText, true);
31+
response = Zlib.DecompressData(data);
3032
}
3133

32-
response = Zlib.DecompressData(data);
34+
3335
}
3436
catch (Exception ex)
3537
{

0 commit comments

Comments
 (0)