summary refs log tree commit diff
path: root/crypto/src/openpgp/PgpSecretKey.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/openpgp/PgpSecretKey.cs')
-rw-r--r--crypto/src/openpgp/PgpSecretKey.cs16
1 files changed, 8 insertions, 8 deletions
diff --git a/crypto/src/openpgp/PgpSecretKey.cs b/crypto/src/openpgp/PgpSecretKey.cs

index a120f97d8..f6e36715f 100644 --- a/crypto/src/openpgp/PgpSecretKey.cs +++ b/crypto/src/openpgp/PgpSecretKey.cs
@@ -154,9 +154,9 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp } } } - catch (PgpException e) + catch (PgpException) { - throw e; + throw; } catch (Exception e) { @@ -605,9 +605,9 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp return data; } - catch (PgpException e) + catch (PgpException) { - throw e; + throw; } catch (Exception e) { @@ -771,9 +771,9 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp return new PgpPrivateKey(KeyId, pubPk, privateKey); } - catch (PgpException e) + catch (PgpException) { - throw e; + throw; } catch (Exception e) { @@ -1000,9 +1000,9 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp keyData = EncryptKeyDataV3(rawKeyData, newEncAlgorithm, rawNewPassPhrase, clearPassPhrase, rand, out s2k, out iv); } } - catch (PgpException e) + catch (PgpException) { - throw e; + throw; } catch (Exception e) {