Skip to content

Commit 2c31a72

Browse files
scott-xuRob-Hague
andauthored
Update test/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/AesCipherTest.Gen.cs.txt
Co-authored-by: Rob Hague <[email protected]>
1 parent 71bb4a3 commit 2c31a72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Renci.SshNet.Tests/Classes/Security/Cryptography/Ciphers/AesCipherTest.Gen.cs.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ foreach ((string mode, (string modeCode, CipherMode? bclMode)) in modes)
2727
{
2828
// It is not allowed to use no padding on non-block lengths
2929
// It makes sense in cfb, ctr and ofb modes
30-
if (!pad && inputLength % 16 != 0 && mode is not "cfb" or "ctr" or "ofb")
30+
if (!pad && inputLength % 16 != 0 && mode is not ("cfb" or "ctr" or "ofb"))
3131
{
3232
continue;
3333
}

0 commit comments

Comments
 (0)