From e472468c024ea6ec4ae9315abddf9b6d8d482807 Mon Sep 17 00:00:00 2001 From: RaidMax Date: Sun, 30 Jul 2023 14:30:16 -0500 Subject: [PATCH] remove unneeded constructor param for crypto provider --- Integrations/Cod/SecureRcon/Helpers.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Integrations/Cod/SecureRcon/Helpers.cs b/Integrations/Cod/SecureRcon/Helpers.cs index 307500164..3810bf3c1 100644 --- a/Integrations/Cod/SecureRcon/Helpers.cs +++ b/Integrations/Cod/SecureRcon/Helpers.cs @@ -17,7 +17,7 @@ public static class Helpers private static byte[] SignData(byte[] data, string privateKey) { - using var rsa = new RSACryptoServiceProvider(512); + using var rsa = new RSACryptoServiceProvider(); rsa.ImportFromPem(privateKey); var rsaFormatter = new RSAPKCS1SignatureFormatter(rsa); rsaFormatter.SetHashAlgorithm("SHA512");