mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Fix MonoAesStream
Padding provider wasn't stored (NullReferenceException)
This commit is contained in:
parent
162a1414bf
commit
cb1edcb3b1
1 changed files with 1 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ namespace MinecraftClient.Crypto.Streams
|
|||
RijndaelManaged aes = GenerateAES(key);
|
||||
enc = aes.CreateEncryptor();
|
||||
dec = aes.CreateDecryptor();
|
||||
pad = provider;
|
||||
}
|
||||
public System.IO.Stream BaseStream { get; set; }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue