summary refs log tree commit diff
path: root/crypto/src/openssl
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/openssl')
-rw-r--r--crypto/src/openssl/PEMReader.cs4
-rw-r--r--crypto/src/openssl/PEMWriter.cs2
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; } } }