From f2725d1eff10497c9041edaa3155f6e091843ecd Mon Sep 17 00:00:00 2001 From: lloyd Date: Fri, 8 Jan 2010 18:27:20 +0000 Subject: Remove catch clauses made redundant by inheritence changes in exception hierarchy. --- src/pubkey/pubkey.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src') 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 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; } } /* -- cgit v1.2.3