summary refs log tree commit diff
path: root/crypto/src/pqc
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-11-09 12:55:04 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-11-09 12:55:04 +0700
commit278643286dc1f5a4e5ac155bbfe8b122e3dee784 (patch)
tree189d7a0bb4f448d9c754b0e11fb8b2b8b176cd6f /crypto/src/pqc
parentIStreamGenerator changes (diff)
downloadBouncyCastle.NET-ed25519-278643286dc1f5a4e5ac155bbfe8b122e3dee784.tar.xz
Cleanup
Diffstat (limited to 'crypto/src/pqc')
-rw-r--r--crypto/src/pqc/crypto/utils/PqcPublicKeyFactory.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/pqc/crypto/utils/PqcPublicKeyFactory.cs b/crypto/src/pqc/crypto/utils/PqcPublicKeyFactory.cs
index c8ca11de6..7f863820e 100644
--- a/crypto/src/pqc/crypto/utils/PqcPublicKeyFactory.cs
+++ b/crypto/src/pqc/crypto/utils/PqcPublicKeyFactory.cs
@@ -283,7 +283,7 @@ namespace Org.BouncyCastle.Pqc.Crypto.Utilities
                         return new DilithiumPublicKeyParameters(dilithiumParams, encKey);
                     }
                 }
-                catch (Exception e)
+                catch (Exception)
                 {
                     // raw encoding
                     return new DilithiumPublicKeyParameters(dilithiumParams, keyInfo.PublicKeyData.GetOctets());
@@ -344,7 +344,7 @@ namespace Org.BouncyCastle.Pqc.Crypto.Utilities
                         return new FalconPublicKeyParameters(falconParams, Arrays.CopyOfRange(keyEnc, 1, keyEnc.Length));
                     }
                 }
-                catch (Exception e)
+                catch (Exception)
                 {
                     // raw encoding
                     byte[] keyEnc = keyInfo.PublicKeyData.GetOctets();