diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-04-27 14:00:59 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-04-27 14:00:59 +0700 |
commit | 60eb88fe48601eb93c5fe98016f77858d1faa4b3 (patch) | |
tree | d8aadca91f399ca5ed080a650e8e2e7a578f0795 | |
parent | May some KeyParameter methods public (diff) | |
download | BouncyCastle.NET-ed25519-60eb88fe48601eb93c5fe98016f77858d1faa4b3.tar.xz |
Add default case to switch statements
-rw-r--r-- | crypto/src/crypto/engines/AsconEngine.cs | 2 | ||||
-rw-r--r-- | crypto/src/crypto/engines/SparkleEngine.cs | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/crypto/src/crypto/engines/AsconEngine.cs b/crypto/src/crypto/engines/AsconEngine.cs index fc38764d1..8fd49b03e 100644 --- a/crypto/src/crypto/engines/AsconEngine.cs +++ b/crypto/src/crypto/engines/AsconEngine.cs @@ -676,6 +676,8 @@ namespace Org.BouncyCastle.Crypto.Engines P(nr); break; } + default: + break; } // domain separation diff --git a/crypto/src/crypto/engines/SparkleEngine.cs b/crypto/src/crypto/engines/SparkleEngine.cs index 34c9bf015..4c558b70f 100644 --- a/crypto/src/crypto/engines/SparkleEngine.cs +++ b/crypto/src/crypto/engines/SparkleEngine.cs @@ -725,6 +725,8 @@ namespace Org.BouncyCastle.Crypto.Engines ProcessFinalAad(); break; } + default: + break; } m_bufPos = 0; |