From 60eb88fe48601eb93c5fe98016f77858d1faa4b3 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Thu, 27 Apr 2023 14:00:59 +0700 Subject: Add default case to switch statements --- crypto/src/crypto/engines/AsconEngine.cs | 2 ++ crypto/src/crypto/engines/SparkleEngine.cs | 2 ++ 2 files changed, 4 insertions(+) (limited to 'crypto') 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; -- cgit 1.4.1