mirror of
https://github.com/2dust/v2rayN.git
synced 2025-12-18 09:19:44 +05:00
[CodeFactor] Apply fixes (#6005)
Co-authored-by: codefactor-io <support@codefactor.io>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using CliWrap;
|
||||
using CliWrap;
|
||||
using CliWrap.Buffered;
|
||||
using System.Collections.Specialized;
|
||||
using System.Diagnostics;
|
||||
@@ -185,7 +185,7 @@ namespace ServiceLib.Common
|
||||
|
||||
if (plainText.Length % 4 > 0)
|
||||
{
|
||||
plainText = plainText.PadRight(plainText.Length + 4 - plainText.Length % 4, '=');
|
||||
plainText = plainText.PadRight(plainText.Length + 4 - (plainText.Length % 4), '=');
|
||||
}
|
||||
|
||||
var data = Convert.FromBase64String(plainText);
|
||||
|
||||
Reference in New Issue
Block a user