diff options
author | lloyd <[email protected]> | 2010-01-08 18:27:20 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-01-08 18:27:20 +0000 |
commit | f2725d1eff10497c9041edaa3155f6e091843ecd (patch) | |
tree | d77135ce4249292ecf99fdd758222b879eaece7e | |
parent | 9900914a225c97aca575df268f73f7c6c366e697 (diff) |
Remove catch clauses made redundant by inheritence changes in exception hierarchy.
-rw-r--r-- | src/pubkey/pubkey.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/pubkey/pubkey.cpp b/src/pubkey/pubkey.cpp index 9b5c9180b..dc0a505f5 100644 --- a/src/pubkey/pubkey.cpp +++ b/src/pubkey/pubkey.cpp @@ -115,10 +115,6 @@ SecureVector<byte> PK_Decryptor_MR_with_EME::dec(const byte msg[], { throw Decoding_Error("PK_Decryptor_MR_with_EME: Input is invalid"); } - catch(Decoding_Error) - { - throw Decoding_Error("PK_Decryptor_MR_with_EME: Input is invalid"); - } } /* @@ -331,7 +327,6 @@ bool PK_Verifier::check_signature(const byte sig[], u32bit length) to_string(sig_format)); } catch(Invalid_Argument) { return false; } - catch(Decoding_Error) { return false; } } /* |