From fdeafa10e2dcfee734d050f2f11ab50a350f69cc Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Thu, 16 Mar 2023 12:41:05 +0700 Subject: Fix rethrow syntax - see https://github.com/bcgit/bc-csharp/issues/425 --- crypto/src/openpgp/PgpPbeEncryptedData.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crypto/src/openpgp/PgpPbeEncryptedData.cs') 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) { -- cgit 1.5.1