diff options
Diffstat (limited to 'crypto/src/openpgp')
-rw-r--r-- | crypto/src/openpgp/PgpPbeEncryptedData.cs | 4 | ||||
-rw-r--r-- | crypto/src/openpgp/PgpPublicKey.cs | 4 | ||||
-rw-r--r-- | crypto/src/openpgp/PgpPublicKeyEncryptedData.cs | 12 | ||||
-rw-r--r-- | crypto/src/openpgp/PgpSecretKey.cs | 16 | ||||
-rw-r--r-- | crypto/src/openpgp/PgpUtilities.cs | 4 |
5 files changed, 20 insertions, 20 deletions
diff --git a/crypto/src/openpgp/PgpPbeEncryptedData.cs b/crypto/src/openpgp/PgpPbeEncryptedData.cs index 7920f54ea..1c3432d89 100644 --- a/crypto/src/openpgp/PgpPbeEncryptedData.cs +++ b/crypto/src/openpgp/PgpPbeEncryptedData.cs @@ -133,9 +133,9 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp return encStream; } - catch (PgpException e) + catch (PgpException) { - throw e; + throw; } catch (Exception e) { diff --git a/crypto/src/openpgp/PgpPublicKey.cs b/crypto/src/openpgp/PgpPublicKey.cs index 3ebfc6256..1fadcff64 100644 --- a/crypto/src/openpgp/PgpPublicKey.cs +++ b/crypto/src/openpgp/PgpPublicKey.cs @@ -635,9 +635,9 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp throw new PgpException("unknown public key algorithm encountered"); } } - catch (PgpException e) + catch (PgpException) { - throw e; + throw; } catch (Exception e) { diff --git a/crypto/src/openpgp/PgpPublicKeyEncryptedData.cs b/crypto/src/openpgp/PgpPublicKeyEncryptedData.cs index 8c6fcda53..645973215 100644 --- a/crypto/src/openpgp/PgpPublicKeyEncryptedData.cs +++ b/crypto/src/openpgp/PgpPublicKeyEncryptedData.cs @@ -45,9 +45,9 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp throw new PgpException("unknown asymmetric algorithm: " + algorithm); } } - catch (PgpException e) + catch (PgpException) { - throw e; + throw; } catch (Exception e) { @@ -116,9 +116,9 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp cipher = CipherUtilities.GetCipher(cName); } - catch (PgpException e) + catch (PgpException) { - throw e; + throw; } catch (Exception e) { @@ -175,9 +175,9 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp return encStream; } - catch (PgpException e) + catch (PgpException) { - throw e; + throw; } catch (Exception e) { 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) { diff --git a/crypto/src/openpgp/PgpUtilities.cs b/crypto/src/openpgp/PgpUtilities.cs index 17e100bff..82f65bd08 100644 --- a/crypto/src/openpgp/PgpUtilities.cs +++ b/crypto/src/openpgp/PgpUtilities.cs @@ -526,9 +526,9 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp return new ArmoredInputStream(inputStream, hasHeaders); } - catch (IOException e) + catch (IOException) { - throw e; + throw; } catch (Exception e) { |