2 files changed, 3 insertions, 3 deletions
diff --git a/crypto/src/openssl/PEMReader.cs b/crypto/src/openssl/PEMReader.cs
index a2c4fd1d6..cb6950c47 100644
--- a/crypto/src/openssl/PEMReader.cs
+++ b/crypto/src/openssl/PEMReader.cs
@@ -356,9 +356,9 @@ namespace Org.BouncyCastle.OpenSsl
return new AsymmetricCipherKeyPair(pubSpec, privSpec);
}
- catch (IOException e)
+ catch (IOException)
{
- throw e;
+ throw;
}
catch (Exception e)
{
diff --git a/crypto/src/openssl/PEMWriter.cs b/crypto/src/openssl/PEMWriter.cs
index 58b6156d5..504ea9e4b 100644
--- a/crypto/src/openssl/PEMWriter.cs
+++ b/crypto/src/openssl/PEMWriter.cs
@@ -31,7 +31,7 @@ namespace Org.BouncyCastle.OpenSsl
if (e.InnerException is IOException inner)
throw inner;
- throw e;
+ throw;
}
}
}
|