Skip to content

Commit 47f39e7

Browse files
committed
bugfix
1 parent ad57c5a commit 47f39e7

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/SSCMS/Utils/EncryptUtils.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,6 @@ public static (bool isValid, string key, string iv) IsValidSecurityKey(string se
3232

3333
public static byte[] GetSecurityKeyBytes(string securityKey)
3434
{
35-
var (isValid, _, _) = IsValidSecurityKey(securityKey);
36-
if (!isValid)
37-
{
38-
securityKey = GenerateSecurityKey();
39-
}
4035
return Encoding.UTF8.GetBytes(securityKey);
4136
}
4237

0 commit comments

Comments
 (0)